Scilab 5.3.0
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.
<< spget | Sparses Matrix | sprand >> |