How to calculate the difference between Max and Min value of a signal at every x seconds?
Show older comments
Hello everyone,
I am looking for a way to determine the difference between the maximum and minimum value of the a signal over a period of time and this should be repeated periodically.
PS: I cannot use the 'MinMax Running Resettable' block
Answers (1)
Image Analyst
on 9 Sep 2015
0 votes
If you have the Image Processing Toolbox, you can use rangefilt().
Categories
Find more on Simulink in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!