hi,i need to find peakvalues and its indices.

1 Ansicht (letzte 30 Tage)
kaavya subramani
kaavya subramani am 2 Sep. 2015
Beantwortet: Walter Roberson am 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

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 2 Sep. 2015
u=[25 8 15 5 6 10 10 3 1 20 7];
[n, locs] = findpeaks(u)

Weitere Antworten (0)

Kategorien

Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by