10-27-2008 05:03 PM
I tried to implement Matrix Multiply: 1-D row vector * 3-by-3 vector in Labview, such as [1 2 3]*[1 2 1; 3 2 4;5 7 8].
But it seems not easy to do this.
If I use array-to-matrix function to transfer 1-D row vector array to matrix, it was always transfered to 1-D column vector matrix.
I feel it is also not convenient to initialize an 1-D row array too.
I am new for Labview, could anybody here help me out?
Thanks a lot!
Solved! Go to Solution.
10-27-2008 05:45 PM
Leave the vector as a plain 1D array.
Pleae attach your code so we can have a look.
10-28-2008 07:51 AM
Here I attached the simple 1-D row array to matrix code. Thx.
'Leave the vector as a plain 1D array.'---What does that mean? Array can do multiply?
10-28-2008 09:43 AM - edited 10-28-2008 09:43 AM
huati wrote:'Leave the vector as a plain 1D array.'---What does that mean? Array can do multiply?
Use AxB.vi from the "mathematics...Linear Algebra Palette".
For example the following code does "V' x matrix" and "matrix x vector". Check the online help for details.

10-28-2008 10:37 AM