How to do max value
정보
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
이전 댓글 표시
Hi, can you help me ? I have y1, y2, y3, y4 and y5. All of them are 2x70 double. And I need to find max y from them.
댓글 수: 3
Kaushik Lakshminarasimhan
2017년 11월 8일
You have five matrices. Can you clarify what you mean by max y? Do you want to find the maximum element in each of the five matrices?
OCDER
2017년 11월 8일
To add on, do you want to find the maximum per row or col or overall?
A = [1 2; 3 4];
max(A, 1) % 3,4
max(A, 2) % 2;4
max(A(:)) % 4
Stephen23
2017년 11월 10일
Thank for your answers. Overall. I need to find y, which has the highest values than other y. Answer have to be matrice, one from y1, y2, y3, y4 and y5.
답변 (1개)
이 질문은 마감되었습니다.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!