How to use simulink to find minimums of a signal over successive intervals of time ???????
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Swarooph
el 4 de Mayo de 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 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!