Corresponding x and y values of a point
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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
0 commentaires
Réponse acceptée
Image Analyst
le 15 Mai 2014
[Pmpp, indexOfMax] = max(P);
xOfMax = I(indexOfMax);
yOfMax = V(indexOfMax);
3 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Introduction to Installation and Licensing 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!