Compare between matrices to find the max

Hello there! I have a problem with my matlab program. I should compare a lot of matrices and choose for every position i,j the max and create a new matrix with this max. Have you some ideas to do this? Thanks to everyone

답변 (1개)

Bhuvnesh Singh
Bhuvnesh Singh 2018년 2월 28일

0 개 추천

In order to achieve this you can use max function.
If you have two matrices A and B
M = max(A,B)

이 질문은 마감되었습니다.

태그

질문:

2018년 2월 21일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by