Corresponding x and y values of a point
조회 수: 3 (최근 30일)
이전 댓글 표시
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
채택된 답변
Image Analyst
2014년 5월 15일
[Pmpp, indexOfMax] = max(P);
xOfMax = I(indexOfMax);
yOfMax = V(indexOfMax);
댓글 수: 3
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File 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!