LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

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

How to multiply two vector (dot) and get a matrix using linear algebra function?

0 Kudos
Message 1 of 13
(3,766 Views)

Are you talking about the outer product?

Message 2 of 13
(3,758 Views)

I tried to multiply two vector using dot product, but it alaways give me scalar, I need to multipy two vector and give me matrix.

0 Kudos
Message 3 of 13
(3,751 Views)

I tried to multiply two vector using dot product, but it alaways give me broken wire. I tried to convert it from array to matrix but without any seccess.

0 Kudos
Message 4 of 13
(3,750 Views)

Can you attach your VI?

0 Kudos
Message 5 of 13
(3,745 Views)

This is the VI, you will find the multiplication at the end, it should give me a matrix.

0 Kudos
Message 6 of 13
(3,740 Views)

I only have LV2012 so I can't open your VI. You can backsave it and attach it again or maybe somebody else will have a look.

But there's something I don't understand. You're talking about the dot product of 2 vectors. The dot (or inner) product of 2 vectors is a scalar, not a matrix.

That's why I asked if you meant the outer product.

 

0 Kudos
Message 7 of 13
(3,733 Views)

one of the vector is transposed.

0 Kudos
Message 8 of 13
(3,726 Views)

A normal 1D LabVIEW array (single dimension) does not have a direction, so it can't be transposed.

And still, the dot product returns a scalar. Maybe what you want is matrix multiplication?

 

 

 

0 Kudos
Message 9 of 13
(3,719 Views)

Yes, matrix multiplication.

0 Kudos
Message 10 of 13
(3,713 Views)