Code covered by the BSD License  

Highlights from
easyfitGUI

Be the first to rate this file! 19 Downloads (last 30 days) File Size: 43.5 KB File ID: #26067
image thumbnail

easyfitGUI

by

 

10 Dec 2009 (Updated )

A GUI to fit 1D 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

Fminsearchbnd, Fminsearchcon and Fit Experimental Data Is Easy inspired this file.

Required Products MATLAB
MATLAB release MATLAB 7.14 (R2012a)
MATLAB Search Path
/
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
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

31 Oct 2014

correct one unexpected bug and improve the Help menu

31 Oct 2014

correct one unexpected bug and improve the Help menu

Contact us