Scilab 5.4.1
- 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
- and
- &
- cat
- cell2mat
- cellstr
- isempty
- isequal
- isvector
- lstsize
- modulo
- ndims
- nthroot
- or
- |
- sign
- size
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 >> |