01-13-2021 02:11 PM
I have matrix A as 3*3
and matrix B as 3*3
and want matrix C as max elements out of A and B
A=
B=
C=max(A,B) elements
01-13-2021 03:17 PM
You'll have to give us more details than this.
Based on your A and B, I don't see how you get C.
For example, in col3 row3, how do you get 9? I don't see a 9 anywhere in either A or B!
01-13-2021 05:37 PM
I think you swapped B and C in your image.
01-13-2021 05:41 PM - edited 01-13-2021 06:10 PM