How to use simulink to find minimums of a signal over successive intervals of time ???????
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/162725/image.png)
0 Kommentare
Antworten (1)
Swarooph
am 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
0 Kommentare
Siehe auch
Kategorien
Mehr zu Sources finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!