Least Squares Data Fitting in MATLAB
Updated 9 Mar 2012
This example was developed for use in teaching modeling, simulation, and optimization in graduate engineering courses. A corresponding video is available at:
James Allison (2023). Least Squares Data Fitting in MATLAB (https://www.mathworks.com/matlabcentral/fileexchange/35541-least-squares-data-fitting-in-matlab), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.