Fitting with MATLAB: Statistics, Optimization, and Curve Fitting

Demo code and data for the "Fitting with MATLAB" webinar

You are now following this Submission

Censoring / clipping example
Outlier detection example
Orthogonal regression example
GLM (Poisson regression / logistic regression) example
Robust regression example
Feature selection example
Common slope problem example

Cite As

Richard Willey (2026). Fitting with MATLAB: Statistics, Optimization, and Curve Fitting (https://ch.mathworks.com/matlabcentral/fileexchange/30869-fitting-with-matlab-statistics-optimization-and-curve-fitting), 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.6.0.1

Updated license

1.6.0.0

Added two new demos. The first shows how to generate a fit from a data set with censoring / clipping. The second shows and outlier detection routine using Cook's distance.

1.3.0.0

n/a