How to calculate peak in MATLAB

2 次查看(过去 30 天)
Tubi
Tubi 2018-4-1
编辑: Tubi 2018-4-2
I am using peak for the feature extraction as a statistical parameter Which formula is correct to get the peak
1- Peak = (max (x) - min (x))
2- peak = 1/2 (max (x) - min(X))
where x is the data that needs to be calculated
I found some sources (literature) indicates the first one, and some indicates the second with peak-peak.
I am confused, which one should I use??!

回答(2 个)

Abhishek Ballaney
https://in.mathworks.com/help/signal/ref/findpeaks.html

Tubi
Tubi 2018-4-2
编辑:Tubi 2018-4-2
As it is known
Peak = max (x)
peak-peak= max (x)- min (x)
And Crest Factor= Peak/RMS
But, can we also consider Crest Factor= Peak-Peak/RMS??!

Community Treasure Hunt

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

Start Hunting!

Translated by