LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Complex Number Root Finder/Zero Finder

Does anybody know of a Zero Finder or Root Finder that can handle complex numbers? I believe that all of the ones included in LabVIEW 7.1 are for Real numbers and do not include complex numbers. Any suggestions or ideas on implementing one would be helpful! thanks so much!
0 Kudos
Message 1 of 3
(3,435 Views)
Hello Tochip,

to find roots of complex numbers:
Recalling my math lectures some years ago I remember: convert a complex number into its polar form (r and theta), take the n-th root of r and divide theta by n gives you the "standard" root. To get the other roots you have to add 360°/n to theta/n. Please check this with your favorite math book 🙂
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(3,413 Views)


@Tochip wrote:
Does anybody know of a Zero Finder or Root Finder that can handle complex numbers? I believe that all of the ones included in LabVIEW 7.1 are for Real numbers and do not include complex numbers. Any suggestions or ideas on implementing one would be helpful! thanks so much!


Hi, Tochip,

Labview has a root finder VI at least since 7.0, even earlier. It names "Complex Polynomial Root.vi" which finds the roots for complex coefficients polynomial. In LV 7.1, you will find the "Polynomial Roots.vi" is a polymorphic VI that can handle both real and complex coefficients polynomials.
0 Kudos
Message 3 of 3
(3,396 Views)