LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Complex addition

Hi there,

I was wondering how I could do a complex addition. Right now, I have 2 vectors X and Y of the same length. I wanted to do X + iY and then graph the results. How would I go about doing this in LabVIEW? Thanks.

-Mike
0 Kudos
Message 1 of 2
(2,264 Views)
Hi Mike,
I'm not sure if you need a complex addition. Thus, you can plot X+iY without involving complex related functions (using XY graph). Anyway, you can use these functions (in Numeric -> Complex palette) in order to obatin complex values (to do some other operations easier).
Take a look on attached example ... ignoring my loop used to generate the arrays.

Hope this helps.
Message 2 of 2
(2,264 Views)