Code covered by the BSD License  

Highlights from
easyfitGUI

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

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.
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

Tag Activity for this File
Tag Applied By Date/Time
gui Jean-Luc Dellis 10 Dec 2009 12:45:53
optimization Jean-Luc Dellis 10 Dec 2009 12:45:54
fit Jean-Luc Dellis 11 Feb 2010 09:38:01
polyfit Jean-Luc Dellis 11 Feb 2010 09:38:02
fminsearch Jean-Luc Dellis 11 Feb 2010 09:38:02

Contact us at files@mathworks.com