full
sparse to full matrix conversion
Syntax
X=full(sp)
Arguments
- sp
real or complex sparse (or full) matrix
- X
full matrix
Description
X=full(sp)
converts the sparse matrix sp
into its
full representation. (If sp
is already full then X
equals
sp
).
Examples
sp=sparse([1,2;5,4;3,1],[1,2,3]); A=full(sp)
See also
Report an issue | ||
<< adj2sp | Sparse Matrix Conversion | sp2adj >> |