hi,i need to find peakvalues and its indices.

1 visualización (últimos 30 días)
kaavya subramani
kaavya subramani el 2 de Sept. de 2015
Respondida: Walter Roberson el 2 de Sept. de 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

Respuesta aceptada

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

Más respuestas (0)

Categorías

Más información sobre Image Processing Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by