You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
This weighted nonlinear fit script fulfills the requirements of physicists, chemists and other quantative scientists, who need a fitting script for the everyday use. This script fits and creates nice plots with results and data automatically printed in a legend. It saves much time compared to using origin or other fitting programs.
It uses built in minimization routines to obtain the best guess for the fit variables. The error is determined by adding some value x (depending on how many variables are fitted) to the minimum chi^2 value and finding the value of the respective fitting variable so that chi^2 is equal to min(chi^2)+x.
Cite As
Jannick (2026). Weighted Nonlinear Curve Fit Script with Plotter (https://uk.mathworks.com/matlabcentral/fileexchange/35565-weighted-nonlinear-curve-fit-script-with-plotter), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: Shapiro-Wilk and Shapiro-Francia normality tests.
General Information
- Version 1.4.0.0 (8.4 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
