How to calculate peak in MATLAB

6 views (last 30 days)
Tubi
Tubi on 1 Apr 2018
Edited: Tubi on 2 Apr 2018
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??!

Answers (2)

Abhishek Ballaney
Abhishek Ballaney on 2 Apr 2018
https://in.mathworks.com/help/signal/ref/findpeaks.html

Tubi
Tubi on 2 Apr 2018
Edited: Tubi on 2 Apr 2018
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!