LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

can somebody tell me how I generate this project?

I'm trying to generate the roots of this equation an · xn + an−1 · xn−1 + . . . + a1 · x + a(0) = 0

0 Kudos
Message 1 of 13
(3,191 Views)

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.

0 Kudos
Message 2 of 13
(3,171 Views)

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 !! 

0 Kudos
Message 3 of 13
(3,159 Views)

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

0 Kudos
Message 4 of 13
(3,153 Views)

Coudl you please solve that equation! I really don't get it right now!

0 Kudos
Message 5 of 13
(3,152 Views)

Okay ! I am trying right now!

 

0 Kudos
Message 6 of 13
(3,150 Views)

HMMM... I already done that!

0 Kudos
Message 7 of 13
(3,145 Views)

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.

0 Kudos
Message 8 of 13
(3,135 Views)

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)

0 Kudos
Message 9 of 13
(3,133 Views)
0 Kudos
Message 10 of 13
(3,121 Views)