02-18-2015 03:34 PM
I'm trying to generate the roots of this equation an · xn + an−1 · xn−1 + . . . + a1 · x + a(0) = 0
02-18-2015 03:56 PM
This is fairly straight-forward, all you need to do is build the equation into a polynomial from an array using ascending power order i.e. x^3 - 2x^2 + 4x -9 = 0 becomes [-9, 4, 2, 1].
Once you have done that feed the array into the "Polynomial Roots.vi" in order to get an array of the roots.
02-18-2015 04:15 PM
I just started to learn labview and I really don't know how to do that polynom so please help me with a specific i.e !!
02-18-2015 04:21 PM
press 'ctl + space" and type in "Polynomial root". Either that or in the block diagram right-click the background, then go Mathematics -> Polynomial -> Poly Roots
02-18-2015 04:21 PM
Coudl you please solve that equation! I really don't get it right now!
02-18-2015 04:22 PM
Okay ! I am trying right now!
02-18-2015 04:27 PM
HMMM... I already done that!
02-18-2015 04:35 PM
You already have an array of coefficients set up within the cluster control.
Now you just need to read the help for the Polynomial Roots VI to learn how to use it and apply that array of coefficients to it.
02-18-2015 04:36 PM
If you change your output array from a DBL to a Complex double it should work better. To do this, right click the terminal for the array and go Representation -> Complex Double (CDB)
02-18-2015 04:48 PM
Like this?