Corresponding x and y values of a point

조회 수: 3 (최근 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 CenterFile Exchange에서 Introduction 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