Scilab 5.5.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
- Symbolic
- Trigonometry
- IsAScalar
- and
- &
- cat
- cell2mat
- cellstr
- iscolumn
- isempty
- isequal
- ismatrix
- isrow
- isscalar
- issquare
- isvector
- lstsize
- modulo
- ndims
- nthroot
- num2cell
- or
- |
- sign
- size
- unwrap
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
Calling Sequence
X=sign(A)
Arguments
- А
real or complex matrix
- 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)
.
Examples
sign(rand(2,3)) sign(1+%i)
See Also
Report an issue | ||
<< | | Elementary Functions | size >> |