# How to calculate peak in MATLAB

조회 수: 1 (최근 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이전 댓글 -2개 표시이전 댓글 -2개 숨기기

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

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

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

### 카테고리

Help CenterFile Exchange에서 Descriptive Statistics에 대해 자세히 알아보기

### Community Treasure Hunt

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

Start Hunting!

Translated by