How to calculate the difference between Max and Min value of a signal at every x seconds?

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

Risposte (1)

If you have the Image Processing Toolbox, you can use rangefilt().

Categorie

Scopri di più su Simulink in Centro assistenza e File Exchange

Prodotti

Tag

Richiesto:

il 9 Set 2015

Commentato:

il 9 Set 2015

Community Treasure Hunt

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

Start Hunting!

Translated by