From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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,261 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,261 Views)