Corresponding x and y values of a point

5 visualizaciones (últimos 30 días)
Hamed
Hamed el 15 de Mayo de 2014
Comentada: Hamed el 22 de Jul. de 2014
Dear freinds,
I am newbie in MATLAB and I will be grateful to have your support. I have multiplied two vectors to each other and found the maximum value of this multiplication.
P = I.*V; Pmpp = max(P);
Now I need to know the corresponding x and y values of Pmpp.
Thanks in advance

Respuesta aceptada

Image Analyst
Image Analyst el 15 de Mayo de 2014
[Pmpp, indexOfMax] = max(P);
xOfMax = I(indexOfMax);
yOfMax = V(indexOfMax);
  3 comentarios
Image Analyst
Image Analyst el 15 de Mayo de 2014
If that answered your question, can you mark it as "Accepted"?
Hamed
Hamed el 22 de Jul. de 2014
Sorry that I have done it late :) Thanks again.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Etiquetas

Aún no se han introducido etiquetas.

Community Treasure Hunt

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

Start Hunting!

Translated by