fits(f,xd,yd,p0,n,m​)

Version 1.0.0 (2.36 KB) by Mark Holmes
Data fitting given model function f(x,p)
38 Downloads
Updated 10 Jul 2019

View License

Parameter Fitting: given a model function f(x,p), this program finds the minimizer of F(p) = norm(d,n), where d = error vector

Usage:
Least squares [default]
fits(@(x,p)f(x,p),xd,yd,p0)
Minimum n-norm with relative (m=1) or non-relative error (m=0)
fits(@(x,p)f(x,p),xd,yd,p0,n,m)

Cite As

Mark Holmes (2024). fits(f,xd,yd,p0,n,m) (https://www.mathworks.com/matlabcentral/fileexchange/72113-fits-f-xd-yd-p0-n-m), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2019a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Linear and Nonlinear Regression in Help Center and MATLAB Answers

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