Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Compare between matrices to find the max

1 visualización (últimos 30 días)
Antonio Faggio
Antonio Faggio el 21 de Feb. de 2018
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
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

Respuestas (1)

Bhuvnesh Singh
Bhuvnesh Singh el 28 de Feb. de 2018
In order to achieve this you can use max function.
If you have two matrices A and B
M = max(A,B)

La pregunta está cerrada.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by