02-03-2006 10:40 AM
Can anyone think of a way to evaluate two polynomials into one equation?
I have two sequential, open-ended equations as follows:
Z(Y) = A1Yn + B1Yn-1 + C1Yn-2…
Where Y is described by:
Y(X) = A2Xn + B2Xn-1 + C2Xn-2…
I need one equation such that:
Z(X) = ???
What I am looking for is a process, maybe using linear algebra or matrix math to evaluate two equations into one. I currently evaluate the first equation and then the second using the result of the first and this works fine, but if some “Summa Cum Nerdly” out there has a sneaky way to combine the process, the program will run more efficiently.
02-03-2006 11:26 AM
LabVIEW, C'est LabVIEW
02-03-2006 12:00 PM - edited 02-03-2006 12:00 PM
Here is the solution suggested by JPD. I developped it because there is a trick if you want to use the Polynomial Eval vi as it stands.
A better solution is to modify the subvi to make it accept a scalar as input.

Message Edité par chilly charly le 02-03-2006 07:01 PM
02-03-2006 12:13 PM
LabVIEW, C'est LabVIEW
02-03-2006 12:23 PM - edited 02-03-2006 12:23 PM

Message Edité par chilly charly le 02-03-2006 07:23 PM
02-03-2006 01:55 PM
"
“Summa Cum Nerdly”
02-06-2006 07:57 AM