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
sign
signum function
Syntax
X = sign(A)
Arguments
- А
real or complex matrix.
A
may be sparse.- X
real or complex matrix
Description
X = sign(A)
returns the matrix made of the signs of
A(i,j)
. For complex A
,
sign(A) = A./abs(A)
.
See also
History
Version | Description |
6.0 | Extension to sparse matrices |
Report an issue | ||
<< prod | Matrix operations | signm >> |