ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Complex in Formula Node

Solved!
Go to solution
I need to enter the following formula (j-imaginary 1) in Formula Node
x1=1/kr - j/(kr*kr) - 1/(kr*kr*kr); 
x2=1/(kr*kr) - j/(kr*kr*kr); 
Further I need to receive y = x1*conjugate(x1) + x2*conjugate(x2). 
I do not know, how it is necessary to designate complex x1 and x2 in Formula Node and how to program conjugate. Help me, please!

0 Kudos
Message 1 of 7
(7,032 Views)
Solution
Accepted by RavensFan

Formula node do not support complex numbers. But a Mathscript node do. But I am not sure you find Mathscript node in LV 7.1. But I think you are making things to complex. You do not need a formula node

Edit: Upsk made an error in the calculation, but it is fixed now

Message Edited by t06afre on 03-07-2009 12:03 PM


Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
sample.vi ‏1 KB
0 Kudos
Message 2 of 7
(7,009 Views)
Thank you!
0 Kudos
Message 3 of 7
(6,998 Views)

tumanovalex wrote:
Thank you!

 

This post is certainly NOT the solution and thus should not be marked as such. Please mark the post containing the actual answer instead. Thanks!
Message 4 of 7
(6,988 Views)

Please don't mark this as solved

0 Kudos
Message 5 of 7
(3,906 Views)

You're right.  This is rather old (12 years) and the original poster marked his own thank you message as the solution which is improper.

 

I've remedied this.

Message 6 of 7
(3,899 Views)

@gptshubham595 wrote:

Please don't mark this as solved


I think Re: Complex in Formula Node) is pretty good, and as good as it gets for sure...

0 Kudos
Message 7 of 7
(3,864 Views)