Simulink Reference Previous page   Next Page
Sign

Indicate the sign of the input

Library

Math Operations

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

Enable zero crossing detection
Select to enable zero crossing detection. For more information, see Zero Crossing Detection in the Using Simulink documentation.
Sample time (-1 for inherited)
Specify the time interval between samples. To inherit the sample time, set this parameter to -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.


Previous page  Shift Arithmetic Signal Builder Next page

© 1994-2005 The MathWorks, Inc.