Scilab 6.0.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
Syntax
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
Report an issue | ||
<< speye | Sparse Matrix Manipulation | sprand >> |