Fixed-Point Blockset    
Detect Fall Nonpositive

Detect a falling edge when the signal's value decreases to a nonpositive value, and its previous value was strictly positive

Library

Edge Detect

Description

The Detect Fall Nonpositive block is a masked block that determines if the input is less than or equal to zero, and its previous value was positive where

Parameters and Dialog Box

Initial condition
Set the initial condition of the boolean expression U/z <= 0.

Characteristics

Input Port
Any data type supported by the blockset
Output Port
An 8-bit unsigned integer
Direct Feedthrough
Yes
Scalar Expansion
Yes
Vectorized
Yes

See Also

Detect Change, Detect Decrease, Detect Fall Negative, Detect Increase, Detect Rise Nonnegative, Detect Rise Positive


  Detect Fall Negative Detect Increase