peak of a graph

1 回表示 (過去 30 日間)
Vishnu M S
Vishnu M S 2013 年 1 月 22 日
I have a graph. How can I find the peak value and location of peak point without using for loop?

回答 (2 件)

Image Analyst
Image Analyst 2013 年 1 月 23 日
Assuming you have the actual data values that were plotted and aren't just stuck trying to digitize some printed figure out of a published article, try this:
[peakvalue, peakIndex] = max(yourData);

Thorsten
Thorsten 2013 年 1 月 22 日
help findpeaks

カテゴリ

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