# Orthogonal linear regression in matlab

The following Matlab project contains the source code and Matlab examples used for orthogonal linear regression.
LINORTFIT2(X,Y) finds the coefficients of a 1st-order polynomial that best fits the data (X,Y) in an ORTHOGONAL least-squares sense.