find defferences between every min and max of the signal?

2 次查看(过去 30 天)
I need to write a code to find defference beetwen every max and min of the signal,for example one of my max=1.0167 and min=0.9398.I want defference between these two numbers.thanks

回答(1 个)

Walter Roberson
Walter Roberson 2016-4-10
max(YourSignal) - min(YourSignal)
?
Are you talking about peaks and adjacent low points?

Community Treasure Hunt

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

Start Hunting!

Translated by