from weighted total least squares straight line fit by Mathias Anton
Calculates the parameters (and their uncertainties) to data with uncertainties in both coordinates

All files for weighted total least squares straight line fit
/license.txt
/pearson_york_testdata.m
/wtls_line.m

Contact us at files@mathworks.com