How to know the location of maximum value in a vector?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Meshooo
el 6 de Nov. de 2013
Comentada: Meshooo
el 6 de Nov. de 2013
Dear All,
I have a vector such as A = [1 2 2 3 2 4 5 7 6 6 5 4]. As we can see that 7 is the maximum value of this vector. I want to know the location of this maximum value, in this example it is the 8th element. How find that?
0 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!