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!