| Simulink Reference | ![]() |
Indicate the sign of the input
Library
Description
The Sign block indicates the sign of the input:
Data Type Support
The Sign block accepts real or complex signals of any data type supported by Simulink, including fixed-point data types. The output is a signed data type with the same number of bits as the input, and with nominal scaling (a slope of one and a bias of zero).
For a discussion on the data types supported by Simulink, refer to Data Types Supported by Simulink in the Using Simulink documentation.
Parameters and Dialog Box
-1. See Specifying Sample Time in the online documentation for more information.
Characteristics
| Direct Feedthrough |
Yes |
| Sample Time |
Specified in the Sample time parameter |
| Scalar Expansion |
N/A |
| Dimensionalized |
Yes |
| Zero Crossing |
Yes, if enabled. |
| Shift Arithmetic | Signal Builder | ![]() |
© 1994-2005 The MathWorks, Inc.