LinRegression

Linear regression excluding outliers and draw.

You are now following this Submission

Simple linear regression.
The function calculates the regression coefficients and R2.
If the OutlierErrorSigma is given, the function finds the outliers lying out of STD multiplied by the OutlierErrorSigma, and additional iteration of the regression is performed without the outliers.

Cite As

Victor Bloch (2026). LinRegression (https://www.mathworks.com/matlabcentral/fileexchange/75278-linregression), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0