How to use simulink to find minimums of a signal over successive intervals of time ???????

3 vues (au cours des 30 derniers jours)
I want to use simulink blocks to find the mimimums ( different from zero ) of the signal below over chosen intervals of time:
For example: in the interval [0 200] the output must be about 28 in the interval [200 300] the output must be about 45 in the interval [300 500] the output must be about 80 and so on.....
the output from the block must be a continuous signal containing all the minimums from all intervals during the whole period of simulation. I want a continuous signal because I want that after each minimum found the output of the block stays equal to that minimum until the next minimum in the next interval is found.

Réponses (1)

Swarooph
Swarooph le 4 Mai 2016
Use the MinMax running resettable block and generate/pass a reset signal based on the time instant: http://www.mathworks.com/help/simulink/slref/minmaxrunningresettable.html

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by