[pbest, SD] = easyfit(x, y, pinit, fhandle)
版本 2.0 (2.2 KB) 作者:
Jean-Luc Dellis
EASYFIT finds the parameters P of a function y = fun(p,x) which models experimental data (x,y) as well as possible.
[pbest, SD] = easyfit(x, y, pinit, fhandle)
X vector of the independent variable
Y vector of the "measured" (dependent) variable
FHANDLE handle to a function FUN which is aimed to model the experimental data : Y = FUN(p, X)
PINIT initial guess on the parameter values
PBEST - best parameters in a least squares meaning
SD - Standard Deviations in the parameters p
Examples are given in the help lines
To compute the SD, the "Wild Bootstrap" method is used. It is described there : https://en.wikipedia.org/wiki/Bootstrapping_(statistics)
引用格式
Jean-Luc Dellis (2025). [pbest, SD] = easyfit(x, y, pinit, fhandle) (https://www.mathworks.com/matlabcentral/fileexchange/10625-pbest-sd-easyfit-x-y-pinit-fhandle), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2014b
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Interpolation 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
2.0 | i) The code has been simplified. For instance, graphics are any more generated.
|
||
1.4.0.0 | - the help lines and examples have been improved
|
||
1.3.0.0 | Fix minor points and add an example where one parameter is hold constant in fitting. |
||
1.0.0.0 | - put VARARGIN to simplify the use
|