LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Complex Bessel functions in LV 2009?

Solved!
Go to solution

Can anyone please clarify whether the Bessel functions in LV 2009 operate on complex inputs and give complex outputs? The "Help" text mentions only real outputs.

 

A quick test on the Bessel function Jv of zeroth order seems to indicate that it accepts a complex input but delivers a real output. Does it just ignore the imaginary part of the input?

 

Any input much appreciated, thanks!

 

 

Peter

0 Kudos
Message 1 of 5
(3,865 Views)

Hi Peter,

 

The Bessel function in LabVIEW 2009 can not operate on complex input. If you specify a complex input, it will be casted to real. You should see a red dot which indicates the cast.

 

0 Kudos
Message 2 of 5
(3,853 Views)
Solution
Accepted by topic author Peter Dias

Hi ttrr

 

Many thanks for your prompt and helpful explanation. I thought something like that was happening, your confirmation much appreciated.

The only viable solution I have found is using Matlab (Excel BESSELJ cannot handle complex inputs either).

 

Regards

 

Peter

0 Kudos
Message 3 of 5
(3,844 Views)

Hello Peter,

LabVIEW MathScript can support real-order Bessel functions with complex inputs.  Reference the help for the bessel_j function, in particular.


Grant M.
Senior Software Engineer | LabVIEW MathScript | National Instruments

0 Kudos
Message 4 of 5
(3,823 Views)

Hi Grant

 

Thanks for your input. Using the LV MathScript add-on is definitely an option from the cost point of view. You tip much appreciated!

 

Regards

 

Peter

0 Kudos
Message 5 of 5
(3,791 Views)