MATLAB: Polynomial fit with errors (weights) in both axes

fitpolynomialweights

Anyone know of code for a polynomial fit with weights in both axes?

Best Answer

Yes, a quick search for total least square at the matlab file exchange gives these (among others):
Look at those, should be what you're looking for.
Related Question