Sparse to full matrix conversion (original) (raw)

Scilab 5.3.3

Please note that the recommended version of Scilab is 2026.0.1. This page might be outdated.
See the recommended documentation of this function

Scilab help >> Sparse Matrix > full

sparse to full matrix conversion

Calling Sequence

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 equalssp).

Examples

sp=sparse([1,2;5,4;3,1],[1,2,3]); A=full(sp)

See Also