Least Squares Data Fitting in MATLAB
Version 1.0.0.0 (2.58 KB) by
James Allison
Demonstration of least squares data fitting using both inverse and backslash operators.
This example was developed for use in teaching modeling, simulation, and optimization in graduate engineering courses. A corresponding video is available at:
Cite As
James Allison (2026). Least Squares Data Fitting in MATLAB (https://uk.mathworks.com/matlabcentral/fileexchange/35541-least-squares-data-fitting-in-matlab), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2011b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Curve Fitting Toolbox in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
