Polyfit
[coef, RSquared]=plotfit(x,y,polyorder)A simple function that accepts x,y data pairs in in the vectors "x" and "y", fits it to a polynomial of order "polyorder", plots the data and the fit, and displays the fit coefficients and the goodness-of-fit measure R-squared in the upper left corner of the...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): plotfit Download |
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...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (49): Fit experimental data is easy Download |
Like polyfit.m but includes weighting of each data point.Summary----------------Find a least-squares fit of 1D data y(x) with an nth order polynomial, weighted by w(x).Usage-----P = polyfitweighted(X,Y,N,W) finds the coefficients of a polynomial P(X) of degree N that fits the data Y best in a...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (41): polyfitweighted Download |
PDL::Slatec is a PDL interface to the slatec numerical programming library. SYNOPSIS use PDL::Slatec; ($ndeg, $r, $ierr, $a) = polyfit($x, $y, $w, $maxdeg, $eps); This module serves the dual purpose of providing an interface to parts of the slatec library and showing how to interface PDL...
Platforms: *nix
License: Freeware | Size: 2.1 MB | Download (115): PDL::Slatec Download |
easyfitGUI(varargin) fits real data Y = f(X) easyfitGUI open a figure with uimenus devoted to process the data. VARARGIN: one or several matrix [X, Y] having: first column = vector of the independant variable (X) second column = vector of the dependant variable (Y). The Y-data are plotted...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): easyfitGUI Download |