FixPt Saturation

Bound the range of the input.

Description

The FixPt Saturation block is a masked S-function that limits the input signal to upper and lower saturation values.

You specify the upper bound of the input with the Upper limit parameter and the lower bound of the input with the Lower limit parameter. If the input signal is outside these limits, the output saturates to one of the bounds.

Parameters and Dialog Box

  • Upper limit - The upper bound on the input signal. 

  • Lower limit - The lower bound on the input signal.

Conversions

Both the Upper limit and Lower limit parameters are converted to the input data type offline using round-to-nearest and saturation. 

Characteristics

Input Port 

Any data type supported by the blockset

Output Port 

Same as input data type

Direct Feedthrough

Yes

Sample Time

Inherited

Scalar Expansion

Of input and limits

States

0

Vectorized

Yes

Â