hi,i need to find peakvalues and its indices.
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
kaavya subramani
le 2 Sep 2015
Réponse apportée : Walter Roberson
le 2 Sep 2015
eg
u=[25 8 15 5 6 10 10 3 1 20 7];
n=findpeaks(u)
n =
15 10 20
if i use find(u==n) i get error as matrix dimension mismatch
0 commentaires
Réponse acceptée
Walter Roberson
le 2 Sep 2015
u=[25 8 15 5 6 10 10 3 1 20 7];
[n, locs] = findpeaks(u)
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Image Processing Toolbox dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!