LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Element-by-element multiplication of a vector with matrix rows

the problem is solved with the Matix A x Vektor, but what if the values of the Matrix and the Vektor are komplex numbers. The A x Vektor function doesn't work with komplex numbers. Is there possiblilities to deal with the problem anyhow?

thanx!
0 Kudos
Message 11 of 13
(1,656 Views)
Well, you can always make your own from scratch. 🙂

The attached code image does the A x Vector for complex numbers.

(edit: fixed image)

Message Edited by altenbach on 03-26-2005 03:53 PM

0 Kudos
Message 12 of 13
(1,652 Views)
Actually, up to LabVIEW 7.0 there was a complex "A x Vector.vi" in the "Complex Linear Algebra" Palette.

In LabVIEW 7.1, the generic "A x B.vi" has been made polymorphic and now accepts matrices and/or vectors of many data types, including complex. 🙂

Quote from the help:A x B Performs the multiplication of two input matrixes or an input matrix and an input vector. You can use this polymorphic VI to perform multiplication for real matrixes, complex matrixes, a real matrix and a real vector, or a complex matrix and a complex vector. The data types you wire to the A and B inputs determine the polymorphic instance to use.

So, this is the way to go! Disregard my previous answer. 😉
0 Kudos
Message 13 of 13
(1,641 Views)