LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to multiply two vector (dot) and get a matrix?

Please check if this is what you are looking for
http://zone.ni.com/reference/en-XX/help/371361H-01/gmath/a_x_b/
Thanks
uday
0 Kudos
Message 11 of 13
(745 Views)

Why do you call it dot product? That's a well defined function and returns a scalar.

 

Please place typical values into your controls, make the current values default, save the VI and reattach it here.

 

There are many matrix operations that create a matrix out of two 1D arrays (e.g. the "outer product".)

 

What is the size of M? One array (x) seems to be about 8M(!) How big do you expect the resulting matrix to be?

0 Kudos
Message 12 of 13
(732 Views)

I used the outer product, and it works.

0 Kudos
Message 13 of 13
(703 Views)