Detect increase in signal value
Simulink / Logic and Bit Operations
HDL Coder / Logic and Bit Operations
The Detect Increase block determines if an input is strictly greater than its previous value.
The output is true (equal to 1
) when the input signal is
greater than its previous value.
The output is false (equal to 0
) when the input signal is
less than or equal to its previous value.
This block supports only discrete sample times.
Data Types |
|
Direct Feedthrough |
|
Multidimensional Signals |
|
Variable-Size Signals |
|
Zero-Crossing Detection |
|
Detect Change | Detect Decrease | Detect Fall Negative | Detect Fall Nonpositive | Detect Rise Nonnegative | Detect Rise Positive