This tool helps fitting any linear and non-linear model to your data. Example data and non-linear model are predefined for testing purposes. Finding the solution to the example should take less than a minute. R2, coefficients and the function are all printed on the Command Window. You can stop the fitting process anytime by pressing Ctrl + C.
Model is saved in f_max, function in fun_max and coefficient values in values_max.
Miika Wallius (2023). Curve Fitting Tool (https://www.mathworks.com/matlabcentral/fileexchange/76887-curve-fitting-tool), 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!
Unnecessary things and comments removed.
First comment changed.
Plot options are added.