| Simulink® | ![]() |
Logic and Bit Operations

The Detect Decrease block determines if an input is strictly less than its previous value where
The output is true (equal to 1), when the input signal is less than its previous value.
The output is false (equal to 0), when the input signal is greater than or equal to its previous value.
The Detect Decrease 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 for the previous input U/z.
Direct Feedthrough | Yes |
Scalar Expansion | Yes |
Detect Change, Detect Fall Negative, Detect Fall Nonpositive, Detect Increase, Detect Rise Nonnegative, Detect Rise Positive
![]() | Detect Change | Detect Fall Negative | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |