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
Jean-Luc Dellis (2021). easyfitGUI (https://www.mathworks.com/matlabcentral/fileexchange/26067-easyfitgui), MATLAB Central File Exchange. Retrieved .
Inspired by: fminsearchbnd, fminsearchcon, easyfit(x,y,varargin)
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.