Scilab 5.3.1
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
spones
sparse matrix
Calling Sequence
sp=spones(A)
Arguments
- A
sparse matrix
- sp
sparse matrix
Description
sp=spones(A)
generates a matrix with the same
sparsity structure as A
, but with ones in the nonzero
positions.
See Also
<< spget | Sparse Matrix | sprand >> |