# How to calculate peak in MATLAB

조회 수: 2(최근 30일)
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 2018년 4월 2일
https://in.mathworks.com/help/signal/ref/findpeaks.html
##### 댓글 수: 0표시 이전 댓글 수: -1숨기기 이전 댓글 수: -1

댓글을 달려면 로그인하십시오.

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??!

댓글을 달려면 로그인하십시오.

### 범주

Find more on Descriptive Statistics in Help Center and File Exchange

### Community Treasure Hunt

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

Start Hunting!

Translated by