Sign
Determines the sign of the input.
Description
For real input signals, the block Sign outputs the sign of the input signal:
Input data | Output data |
---|---|
Greater than zero |
|
Equal to zero |
|
Less than zero |
|
Ports
Input
#
IN_1
—
input signal
scalar
| vector
| matrix
Details
An input signal whose sign is to be determined.
Data types |
|
Complex numbers support |
No |
Output
#
OUT_1
—
output signal
scalar
| vector
| matrix
Details
An output signal that shows the sign of the input signal.
Data types |
|
Complex numbers support |
No |