This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

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.