| Simulink® | ![]() |
Detect rising edge when signal's value increases to strictly positive value, and its previous value was nonpositive
Logic and Bit Operations

The Detect Rise Positive block determines if the input is strictly positive, and its previous value was nonpositive where
The output is true (equal to 1), when the input signal is greater than zero, and its previous value was less than zero.
The output is false (equal to 0), when the input is negative or zero, or if the input is positive, its previous value was also positive.
The Detect Rise Positive block accepts signals of any data type supported by Simulink® software, including fixed-point data types. The block output is uint8.

Set the initial condition of the Boolean expression U/z > 0.
Direct Feedthrough | Yes |
Scalar Expansion | Yes |
Detect Change, Detect Decrease, Detect Fall Negative, Detect Fall Nonpositive, Detect Increase, Detect Rise Nonnegative
![]() | Detect Rise Nonnegative | Difference | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |