Counting total number of peaks in an array??

조회 수: 3 (최근 30일)
Sunil
Sunil 2014년 8월 20일
댓글: HARVIN RAJ 2021년 2월 16일
I have attached a figure in which i have peaks at certain locations of certain duration.. I need the total number of peaks in the figure. For example, the number of peaks in this figure is 3. Can someone help me??

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2014년 8월 20일
편집: Azzi Abdelmalek 2014년 8월 20일
numel(findpeaks(your_signal))
%or
numel(gradient(your_signal)==0)
  댓글 수: 3
faiz hazizi
faiz hazizi 2018년 4월 25일
sorry sir, may i know what is types of the signal for the numel(findpeaks(your_signal)) ? is it .wav file or what ?
HARVIN RAJ
HARVIN RAJ 2021년 2월 16일
Thank you !!!

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

추가 답변 (0개)

카테고리

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