peak of a graph
3 次查看(过去 30 天)
显示 更早的评论
I have a graph. How can I find the peak value and location of peak point without using for loop?
0 个评论
回答(2 个)
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);
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!