n-dim. polyfit?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

n-dim. polyfit?

Dr. G. Buerger-2
Hi octave,

has anybody bothered to code the algorithm of a multidimensional polynomial
least-squares fit?

That is, given an nxm matrix X and a nx1 matrix y, find the best polynomial p
such that p(X) - y is minimal.