easyfitGUI
by Jean-Luc Dellis
10 Dec 2009
(Updated 25 May 2012)
A GUI to fit data (X, Y) to a polynomial or to a model function Y = F(P,X).
|
Watch this File
|
| File Information |
| Description |
In an "already" existing plot, easyfitGUI creates uimenus devoted to fit data according to an user function or according to a polynomial. The fitting results and their uncertainties are displayed and output in the workspace.
EXAMPLE:
x1=0:0.1:3;
y1=5*x1.^1.2+1+randn(size(x1));
x2=-3:0.1:3;
y2=5*x2.^2+1+randn(size(x2));
x3=0:0.1:pi;
y3=-40*sin(x3);
plot(x1,y1, x2,y2, x3,y3)
easyfitGUI
The available uimenus and more informations are detailled when clicking
the user HELP menu. This HELP contains the following items:
% 'Select Line'
% 'Express FIT'
% 'Input Function'
% 'Input Pinit'
% 'User FIT'
% 'Options'
additional helps are :
% - About the OUTPUTS
% - About the MINIMIZATION
|
| Acknowledgements |
The author wishes to acknowledge the following in the creation of this submission:
fminsearchbnd, fminsearchcon
|
| Required Products |
MATLAB
|
| MATLAB release |
MATLAB 7.14 (R2012a)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 10 Feb 2010 |
1/ put X and Y as arguments to feed the function
2/ add "express FIT" menu which speed up the fit for simple data |
| 21 Feb 2010 |
21 février 2010
1/ the uimenus now are disabled when one of them is working.
2/ the 'remove outliers' tool has been re-thought and now allows undoing. |
| 25 May 2012 |
put the help in an uimenu, add the display of the uncertainties after the fit process, clean code lines |
|
Contact us at files@mathworks.com