Main Content
PS Sign
Output sign of input physical signal
Libraries:
Simscape /
Foundation Library /
Physical Signals /
Nonlinear Operators
Description
The PS Sign block returns the sign of the input physical signal:
The output is 1 when the input is greater than zero.
The output is 0 when the input is equal to zero.
The output is –1 when the input is less than zero.
Both the input and the output are physical signals. Untyped physical ports facilitate the signal size propagation. The output signal is always unitless.