Fixed-Point Blockset Previous page   Next Page
Interval Test

Determine if a signal is in a specified interval

Library

Logic & Comparison

Description

The Interval Test block outputs TRUE if the input is between the values specified by the Lower limit and Upper limit parameters. The block outputs FALSE if the input is outside those values. The output of the block when the input is equal to the Lower limit or the Upper limit is determined by whether the boxes next to Interval closed on left and Interval closed on right are selected in the dialog box.

Parameters and Dialog Box

Interval closed on right
When the box is selected, the Upper limit is included in the interval for which the block outputs TRUE.
Upper limit
The upper limit of the interval for which the block outputs TRUE.
Interval closed on left
When the box is selected, the Lower limit is included in the interval for which the block outputs TRUE.
Lower limit
The lower limit of the interval for which the block outputs TRUE.

Characteristics

Input Ports
Any data type supported by the blockset
Output Port
Same data type as input
Direct Feedthrough
Yes
Scalar Expansion
Yes

See Also

Interval Test Dynamic


Previous page  Integrator Trapezoidal Resettable Limited Interval Test Dynamic Next page

Learn more about the latest releases of MathWorks products:

 © 1994-2010 The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS