LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Two matrix and get maximum values out of matrix

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.png

B=

C.png

C=max(A,B) elements

A.png

0 Kudos
Message 1 of 4
(145 Views)

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!

0 Kudos
Message 2 of 4
(121 Views)

I think you swapped B and C in your image.


LabVIEW Champion. It all comes together in GCentral GCentral
What does "Engineering Redefined" mean??
0 Kudos
Message 3 of 4
(110 Views)

Once you swap the values of your B and C, here's what you can do ... (using this function)

 

altenbach_0-1610582930238.png

 

 


LabVIEW Champion. It all comes together in GCentral GCentral
What does "Engineering Redefined" mean??
0 Kudos
Message 4 of 4
(107 Views)