Determining how many "peaks" in a graph
古いコメントを表示
Hello community,
I currently have two different types of vectors, where the values in the vector represent the y-value of the plot and the x-value is taken from the index of that respective value.
When plotted, these vectors would either result in a graph with one peak, or two peaks. I am trying to find a way to determine how many "peaks" there are.
Below I have attached two examples of graph I have.
回答 (3 件)
José-Luis
2012 年 8 月 23 日
0 投票
Star Strider
2012 年 8 月 23 日
0 投票
Image Analyst
2012 年 8 月 23 日
0 投票
Here's a review of several peak finding algorithms: http://www.ncbi.nlm.nih.gov/pmc/articles/PMC2631518/
Here's another peak detection script:
% Eli Billauer, 3.4.05 (Explicitly not copyrighted). % http://billauer.co.il/peakdet.html % This function is released to the public domain; Any use is allowed.
カテゴリ
ヘルプ センター および File Exchange で Descriptive Statistics についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!