Solve Best Fit Curve with Least Squared Method

This function will solve a best fit curve for the given data and equation by user using least squared method.
518 Downloads
Updated 31 Jan 2022

View License

This function will solve a best fit curve for the given data and equation by user using least squared method. Please input the equation number and if you want to see the best fit curve of the equation press '1'. You can input 'x' & 'y' column vector or from an excel file where 'x' & 'y' is in two columns. For this, don't put any input when calling the function, only call the function like: y=curve_fitting. Then input file name like: curve_data.

Cite As

Aminul Islam Sabuj (2024). Solve Best Fit Curve with Least Squared Method (https://www.mathworks.com/matlabcentral/fileexchange/105995-solve-best-fit-curve-with-least-squared-method), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2020a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0