Scilab 6.0.0
- Scilab Help
- Elementary Functions
- Bitwise operations
- Complex
- Discrete mathematics
- Elementary matrices
- Log - exp - power
- Floating point
- Radix conversions
- Matrix manipulation
- Matrix operations
- Search and sort
- Set operations
- Signal processing
- Trigonometry
- and
- &
- cat
- cell2mat
- cellstr
- iscolumn
- isempty
- isequal
- ismatrix
- isrow
- isscalar
- issquare
- isvector
- lstsize
- modulo
- ndims
- nthroot
- num2cell
- or
- |
- sign
- size
- unwrap
Scilab Help >> Elementary Functions > sign
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 |
Comments
Add a comment:
Please login to comment this page.