peak of a graph
Afficher commentaires plus anciens
I have a graph. How can I find the peak value and location of peak point without using for loop?
Réponses (2)
Image Analyst
le 23 Jan 2013
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
le 22 Jan 2013
help findpeaks
Catégories
En savoir plus sur 2-D and 3-D Plots dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!