image thumbnail

updated 4 days ago

Constraint polynomial fit by Marc

Polynomial fitting procedure which includes constraints on the desired polynomial degree(s) (fit, polynomial fit, polynomial)

polyfitc(X, Y, N, varargin)

image thumbnail

updated 4 months ago

Histogram fitting Probability Density, Counts, Frequency by Nathan Orloff

A cleaned up version of histfit that outputs data (probability, histogram, fit)

histfit2(data,nbins,dist,plottype)

image thumbnail

updated 5 months ago

polyfitn by John D'Errico

Polynomial modeling in 1 or n dimensions (polyfit, modeling, regression)

polyfitn_demo

polydern(p,diffvar)

polyfitn(indepvar,depvar,modelterms)

image thumbnail

updated 6 months ago

EzyFit 2.42 by Frederic Moisy

A free curve fitting toolbox for Matlab (approximation, interpolation, curve)

Discover Ezyfit: A free curve fitting toolbox for Matlab

about_ef (Ezyfit Toolbox)

axis0 (Ezyfit Toolbox)

image thumbnail

updated 7 months ago

Linear fit with both uncertainties in x and in y by Julien Browaeys

Performs a linear fit with uncertainties in x and y, using a Monte Carlo method (fit, linear, plot)

linfitxy( xdatain, ydatain, xerrin, yerrin, varargin)

image thumbnail

updated 9 months ago

gapolyfitn by Richard Crozier

optimises the functional form of a multi-dimensional polynomial fit to model data (optimization, linear regression, modelling)

GenerateNewTerm(vars, maxPower, poly, maxLoops)

HasTerm(p1, p2, newTerm, vars)

PolyFitScore(polyVec, polyStruct)

image thumbnail

updated 1 year ago

Plane Fitting and Normal Calculation by Dan Couture

Given a set of x,y,z coordinates, find the best planar fit. (plot, regression, fit)

fitNormal(data, show_graph)

t_fitNormal()

image thumbnail

updated 1 year ago

Circle fitting using modified Coopes method by Daniel

Robust method for fitting a circle to data using Weighted Linear Least Squares. (curvature, circle, fit)

circfit( data, weights )

circfit_DEMO.m

image thumbnail

updated 2 years ago

Fit distributions to censored data by Leonidas Bantis

Fits distributions to data when left and/or right and/or interval censoring is present (distribution, fit, censoring)

evfitc.m

expfitc.m

gamfitc.m

image thumbnail

updated 2 years ago

FBD - "Find the Best Distribution" tool by Yoav Aminov

With this GUI you can find the best distribution that fits your data. (data import, gui, optimization)

FBD - Find the Best Distribution tool

Main_FitDistribution_GUI(varargin)

image thumbnail

updated 2 years ago

Four-Parameter Sinefit by Marko Neitola

Least squares sinusoid fit. Optimization toolbox not needed. Data can be non-uniformly sampled. (leastsquares, sinusoid, fit)

sinefit(varargin)

image thumbnail

updated 2 years ago

easyfitGUI by Jean-Luc Dellis

A GUI to fit data (X, Y) to a polynomial or to a model function Y = F(P,X). (gui, optimization, fit)

easyfitGUI

image thumbnail

updated 2 years ago

circle_fit by Val Schmidt

A function to fit a circle to a set of 2D points (circle, fit, mathematics)

circle_fit(x,y)

image thumbnail

updated 2 years ago

planefit by Val Schmidt

A function to fit a plane to a 3D point cloud. (plane, fit)

planefit(x,y,z)

image thumbnail

updated 2 years ago

Lorentzian fit by Jered Wells

LORENTZFIT fits a single- or multi-parameter Lorentzian function to data (lorentz, lorentzian, fit)

lorentzfit(x,y,p0,bounds,nparams)

image thumbnail

updated 2 years ago

R-square: The coefficient of determination by Jered Wells

RSQUARE is a simple routine for computing R-square (coefficient of determination). (statistics, math, fit)

rsquare(y,f,varargin)

image thumbnail

updated 2 years ago

fitting sum of two decaying exponentials (over damped oscillator) by Stephan Koehler

five-parameter fit to the equation A*exp(-t/T1) + B*exp( -t/T2 ) + offset (fit, overdamped oscillator)

fit_overdamping( varargin )

image thumbnail

updated 2 years ago

circlefit3d - fit circle to three points in 3d space by Johannes Korsawe

Calculate center, radius and plane of circle that passes through three given points (circle, points, fit)

circlefit3d(p1,p2,p3)

image thumbnail

updated almost 3 years ago

Fitting complex analytic laws to data by means of Genetic Algorithms by Lorenzo Luini

The script allows to easily fit predefined complex analytical laws using Genetic Algorithms (optimization, fit, analytical laws)

[coeff,RMSout]=FitLaw_GA(X,y,fh,Int,LB,UB)

image thumbnail

updated 3 years ago

quantreg.m - quantile regression by Aslak Grinsted

Quantile regression with bootstrapping confidence intervals (statistics, quantile, median)

[p,stats]=quantreg(x,y,tau,order,Nboot);

image thumbnail

updated 3 years ago

Least squares fit of a rectangle to a given shape/boundary by Onkar Raut

A simple method for fitting of bounding rectangle to closed regions (pattern recognition, image processing, image segmentation)

fit_rectangle(boundary_points)

image thumbnail

updated almost 4 years ago

paramsNeurofit - import parameters from Neurofit by Cengiz Gunay

Extract Hodgkin-Huxley type ion channel parameters from a Neurofit report file. (neurofit, hodgkinhuxley, channel)

paramsNeurofit(file_name, props)

image thumbnail

updated 4 years ago

Sub-Sample Peak Fitting 2D by Eric

Find sub-sample location of global maximum in a 2-dimensional numerical matrix. (approximation, fit, peak)

peakfit2d(Z)

image thumbnail

updated 4 years ago

addFitLine by Rob Campbell

A convenience function to superimpose a polynomial fit to already plotted data (plotting, statistics, regression)

out=addFitLine(poolFits,modelType,lineprops,ax)

image thumbnail

updated almost 5 years ago

Fit experimental data is easy by Jean-Luc Dellis

pbest=easyfit(x,y) (optimization, experimental data, curve)

[pbest,delta_p,ybest,delta_y,chi0,exitflag,output]=easyfi...

image thumbnail

updated 5 years ago

General Least Squares Regression by Husam Aldahiyat

Multi Dimensional Multivariable Least Squares Regression (least, squares, regression)

[fm,C9]=mreg(x,y,m)

image thumbnail

updated 5 years ago

Goodness of Fit (Modified) by Richard Crozier

Computes goodness of fit for regression model given matrix/vector of target and output values. (fit, goodness, mathematics)

gfit2(t,y,gFitMeasure,options)

image thumbnail

updated 5 years ago

MATLAB in Physics - Data Analysis by Matt McDonnell

The second lecture in a series on using MATLAB in undergraduate physics courses. (demo, lecture, physics)

[binEdges,N]=decayHistogram(decayTimes,varargin)

generateDecayData(sampleTime,sampleCount,halfLife,relativ...

pendulumDE(tVals,omega0,startAngle)

image thumbnail

updated 5 years ago

fitpath by Erik Newton

Gracefully truncate a file path to fit into uicontrols. (gui tools, example, uicontrol extent prop...)

fitpath(hndl, str)

demo.m

image thumbnail

updated 5 years ago

Exponential fit, without start-guess by Per Sundqvist

Fits 1) f=s1+s2*exp(-t/s3) or 2) f=s1+s2*exp(-t/s3)+s4*exp(-t/s5) to numerics, without startguess (nonlinear, exponential, least square)

s=exp2fit(t,f,caseval,lsq_val,options)

image thumbnail

updated almost 6 years ago

Ellipse Fit by Tal Hendel

Given a set of points (x, y) this function returns the best fit ellipse. (algorithm, fit, least sqaures)

ellipse_fit(x, y)

image thumbnail

updated almost 6 years ago

Fit logarithmic spiral to x,y data by H.J. Sommer

Fits logarithmic sprial r=a*exp(b*theta) to x,y data points. (fit, curve, logarithmic)

eval_logspiral( cen );

fit_logspiral.m

image thumbnail

updated 6 years ago

Cosinor Analysis by cheart

Fits cosine curve to a time series using least squares (statistics, probability, cosinor anlaysis cosi...)

cosinor

CIcalc(X,T,Z,beta,gamma,n,sigma,Amp,phi,alpha)

image thumbnail

updated 6 years ago

fitlin by Angelini Federico

linear analythic least squares fit (fit, linear, regression)

[m,q,Sm,Sq,Rsquare,St_er]=fitlin00(X,Y,SY);

image thumbnail

updated 6 years ago

calcCircle by Peter Bone

Find the circle that passes through 3 non-collinear points. (fit, circle, three)

calcCircle(pt1, pt2, pt3)

image thumbnail

updated 6 years ago

POINTS2CIRCLE by Jos (10584)

determine the circle through 3 points (v2.0) (linear algebra, fit, circle)

points2circle(P,P2,P3)

image thumbnail

updated 6 years ago

fitgaussian by Mehmet OZTURK

fit a gaussian like curve to data (approximation, interpolation, gauss)

extreme.m

fitgaussian.m

image thumbnail

updated 6 years ago

Separation Plane by Phil Larimer

Find a separation plane for two data sets (optimization, fit, separation)

separationPlane(setA, setB)

image thumbnail

updated 7 years ago

fitellipse.m by Richard Brown

Fit ellipses to 2D points using linear or nonlinear least squares (approximation, interpolation, least squares)

FITELLIPSE : Least squares ellipse fitting demonstration

fitellipse(x, varargin)

plotellipse(varargin)

image thumbnail

updated 7 years ago

polyfitweighted by Salman Rogers

Simple function to calculate a polynomial best fit of 1D data Y with array of weights W (which must (optimization, leastsquares, polymonial)

polyfitweighted(x,y,n,w)

image thumbnail

updated 8 years ago

Rational Polynomial curve fitting by Paul Godfrey

Fits a function to a quotient of polynomials (approximation, interpolation, rational)

ratpolyfit(x,y,kn,kd)

image thumbnail

updated 8 years ago

Padefit by Paul Godfrey

Rational polynomial fitting (approximation, interpolation, pade)

padefit(num,den,kn,kd)

image thumbnail

updated 8 years ago

fitplot by Andrew Bliss

Adds a linear fit to each data series in a plot (annotation, customization, fitplot)

fitplot(varargin)

image thumbnail

updated 8 years ago

GUI for Generalized Nonlinear Non-analytic Chi-Square Fitting by Nathaniel Brahms

Provides a Curve Fitting Toolbox-like interface for chi-square fitting (optimization, chisquare, nonlinear)

FitChiTool(varargin)

ModelEditor(varargin)

[params,dParams,gof,stddev]...

image thumbnail

updated 8 years ago

Akima Interpolation by N. Shamsundar

Interpolate smooth curve through given points on a plane. (specialized, plotting, fit)

yi=akimai(x,y,xi)

AkimaTst.m

image thumbnail

updated almost 9 years ago

click_fit by Nassim Khaled

You can now choose some arbitrary points by using the mouse, and fit a curve on the top of your ... (fit, click, curve)

[p]=click_fit(nb_data_pts,order_poly,xmin,xmax,ymin,ymax)

image thumbnail

updated almost 9 years ago

fitgauss by James Blake

Fits one Gaussian curve to data. (approximation, interpolation, least)

fitgauss(yk, xk, guess_A, guess_mu, guess_sigma)

image thumbnail

updated 9 years ago

Goodness of Fit by Durga Lal Shrestha

Computes goodness of fit (model performance) for regression. (goodness, fit, model performance)

gfit(t,y,varargin)

image thumbnail

updated almost 10 years ago

BIPVAL by Vassili Pastushenko

Produces a matrix of user-defined size, as bipolynomial values. (approximation, interpolation, bipolynomial)

VAL=bipval(BIP,ROWCOL)

image thumbnail

updated almost 10 years ago

SURFIT by Vassili Pastushenko

Approximation of a matrix via an optimal bipolynomial of user-defined orders. (approximation, interpolation, polynomial)

BAS=surfit(D,ORDVER,ORDHOR)

Contact us