How to use simulink to find minimums of a signal over successive intervals of time ???????
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Swarooph
2016-5-4
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sources 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!