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

Antworten (1)

Bhuvnesh Singh
Bhuvnesh Singh am 28 Feb. 2018

0 Stimmen

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

Diese Frage ist geschlossen.

Tags

Gefragt:

am 21 Feb. 2018

Geschlossen:

am 20 Aug. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by