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 Center および File ExchangeDescriptive Statistics についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by