Info
此问题已关闭。 请重新打开它进行编辑或回答。
Compare between matrices to find the max
1 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
Bhuvnesh Singh
2018-2-28
In order to achieve this you can use max function.
If you have two matrices A and B
M = max(A,B)
0 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!