Detect Increasing Signal Values with the Detect Increase Block
This example shows how to use the Detect Increase Block to detect increasing signal values. Because the Initial condition is set to -1
, the block detects an increasing signal value starting at time t=0
. If you change the Initial condition parameter to a nonnegative value, the block detects the first increasing signal value at t=0.25
.