Counting total number of peaks in an array??
3 ビュー (過去 30 日間)
古いコメントを表示
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??
0 件のコメント
採用された回答
Azzi Abdelmalek
2014 年 8 月 20 日
編集済み: Azzi Abdelmalek
2014 年 8 月 20 日
numel(findpeaks(your_signal))
%or
numel(gradient(your_signal)==0)
3 件のコメント
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 ?
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!