Simulink Reference    
Sign

Indicate the sign of the input

Library

Simulink Math Operations and Fixed-Point Blockset Nonlinear

Description

The Sign block indicates the sign of the input:

Data Type Support

The Sign block accepts signals of any data type, 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).

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.

Characteristics

Dimensionalized
Yes
Direct Feedthrough
Yes
Sample Time
Inherited from the driving block
Scalar Expansion
N/A


  S-Function Builder Signal Builder