You can use General LS fit.
If you look at the "general Polynomial Fit" vi in LabVIEW 7.0, the code is exposed as in the attached image (sorry, beginning with LabVIEW 7.1 this stuff is done directly in a dll). You just need to slighly reengineer it to eliminate the first term when building the H matrix.
From what I can tell, you could just move the "+1" node from its current place to after the iteration terminal in the inner loop.
I think this should do it, but please verify. Good luck! 🙂
The first term in the result will be the linear term, next the quadratic, etc.
Message Edited by altenbach on 01-10-2006 04:25 PM
Message Edited by altenbach on 01-10-2006 04:43 PM