Detect Rise Nonnegative
Detect rising edge when signal value increases to nonnegative value, and its previous value was strictly negative
Libraries:
Simulink /
Logic and Bit Operations
Description
The Detect Rise Nonnegative block determining if the input is greater than or equal to zero, and its previous value was less than zero.
The output is true (equal to
1
) when the input signal is greater than or equal to zero, and its previous value was less than zero.The output is false (equal to
0
) when the input signal is less than zero, or if the input signal is nonnegative, its previous value was also nonnegative.
This block supports only discrete sample times.
Examples
Ports
Input
Output
Parameters
Block Characteristics
Data Types |
|
Direct Feedthrough |
|
Multidimensional Signals |
|
Variable-Size Signals |
|
Zero-Crossing Detection |
|
Extended Capabilities
Version History
Introduced before R2006a