LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Breaking a matrix into chunks

Solved!
Go to solution
Solution
Accepted by topic author mecheng86

Do you want a matrix multiplication or an element-by-element multiplication? Big difference.

If you want element-by-element, don't use the special matrix datatype. Use plain 2D arrays.

 

Your FOR loop can be removed without any change in functionality.

0 Kudos
Message 11 of 13
(361 Views)

Got it. Thanks.

0 Kudos
Message 12 of 13
(355 Views)

Also the code in you case structure could be replaced with this equivalent. (Assuming your code is correct)

 

 

(To make the matrix diagram constant a plain 2D array, simply right-click..disconnect typedef.)

0 Kudos
Message 13 of 13
(350 Views)