Code covered by the BSD License
-
[pbest,delta_p,ybest,delta_y,...
% [pbest,delta_p,ybest,delta_y,chi0,exitflag,output]=easyfit(x,y,varargin)
-
View all files
|
|
| File Information |
| Description |
pbest=EASYFIT(x,y,varargin)
fits the data Y = f(X) to a model function Y = FUN(P,X).
If FUN is not given as an input argument, POLYFIT is used as the model function.
Bounds on the parameters P may be set.
By default a plot is generated which presents the data as well the "best" curve, confidence intervals for data% and the uncertainties for the parameters. For programmatic purposes, this graphical mode can be switched off. |
| MATLAB release |
MATLAB 7 (R14)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (7) |
| 05 Apr 2006 |
Duane Hanselman
|
|
|
| 11 Apr 2006 |
Jean-Luc Dellis
|
|
|
| 08 Jun 2006 |
gok gok
|
|
|
| 27 Jul 2006 |
Tie Ling
|
|
|
| 27 Jul 2006 |
Tie Ling
|
|
|
| 25 Feb 2008 |
Phil Wissgott
|
|
|
| 04 Apr 2008 |
Jean-Luc Dellis
|
|
|
| Updates |
| 05 Apr 2006 |
Help lines misplaced |
| 11 Apr 2006 |
a) options set by OPTIMSET can be handled
b) fval the value of the function DISTANCE can be returned by EASYFIT |
| 08 May 2006 |
It is now possible to set constraints on the parameters of the model-function. This was realized in using FMINSEARCHBND (from file exchange, author: John D'Errico). |
| 31 Mar 2008 |
- put VARARGIN to simplify the use
- put UNCERTAINTIES as a subfunction to compute them as
well the data confidence intervals |
| 26 Nov 2009 |
Fix minor points and add an example where one parameter is hold constant in fitting. |
|
Contact us at files@mathworks.com