Fixed-Point Blockset | ![]() ![]() |
Indicate the sign of the input
Description
The FixPt Sign block is a masked S-function that indicates the sign of the input:
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
Characteristics
Input Port |
Any data type supported by the blockset |
Output Port |
A signed Fixed-Point Blockset data type |
Direct Feedthrough |
Yes |
Sample Time |
Inherited |
Scalar Expansion |
N/A |
States |
0 |
Vectorized |
Yes |
![]() | FixPt Saturation | FixPt Sum | ![]() |