Corresponding x and y values of a point

2 ビュー (過去 30 日間)
Hamed
Hamed 2014 年 5 月 15 日
コメント済み: Hamed 2014 年 7 月 22 日
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

採用された回答

Image Analyst
Image Analyst 2014 年 5 月 15 日
[Pmpp, indexOfMax] = max(P);
xOfMax = I(indexOfMax);
yOfMax = V(indexOfMax);
  3 件のコメント
Image Analyst
Image Analyst 2014 年 5 月 15 日
If that answered your question, can you mark it as "Accepted"?
Hamed
Hamed 2014 年 7 月 22 日
Sorry that I have done it late :) Thanks again.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

タグ

タグが未入力です。

Community Treasure Hunt

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

Start Hunting!

Translated by