01-08-2014 04:12 AM
How to multiply two vector (dot) and get a matrix using linear algebra function?
01-08-2014 04:30 AM
01-08-2014 04:36 AM - edited 01-08-2014 04:38 AM
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.
01-08-2014 04:37 AM
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.
01-08-2014 04:39 AM
Can you attach your VI?
01-08-2014 04:46 AM
This is the VI, you will find the multiplication at the end, it should give me a matrix.
01-08-2014 04:53 AM
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.
01-08-2014 04:59 AM
one of the vector is transposed.
01-08-2014 05:06 AM - edited 01-08-2014 05:07 AM
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?
01-08-2014 05:20 AM
Yes, matrix multiplication.