image thumbnail

updated 8 days ago

EzyFit 2.43 by Frederic Moisy

Frederic Moisy (view profile)

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 8 days ago

polyfitn by John D'Errico

John D'Errico (view profile)

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

polyfitn_demo

polydern(p,diffvar)

polyfitn(indepvar,depvar,modelterms)

image thumbnail

updated 15 days ago

Multiple curve fitting with common parameters using NLINFIT by Chen

Chen (view profile)

Wrapper for NLINFIT which allows simultaneous fitting for multiple data sets with shared parameters. (fitting, multiple, nonlinear)

nlinmultifit(x_cell, y_cell, mdl_cell, beta0, varargin)

image thumbnail

updated 29 days ago

Fast Gaussian Point Spread Function Fitting (MEX) by Simon Christoph Stein

Rapid fitting of Gaussian PSF models to a list of candidate positions in an image. (image processing, psf, point spread function)

psfFit.m

psfFit_Image( img, varargin )

EXAMPLE.m

image thumbnail

updated 1 month ago

uifit by Jean-Michel Rousseau

A GUI which uses fmins matlab core function "fminsearch" to fit data with any function. (optimization, fmins, fminsearch)

uifit.m

usercost(x,y)

uitest.m

image thumbnail

updated 1 month ago

polyfit0.m by Arthur Jutan

Arthur Jutan (view profile)

Polyfit0 - similar to polyfit, except that the fitted polynomial does not have a constant term. (approximation, interpolation, polyfit)

polyfit0(x,y,n)

image thumbnail

updated 1 month ago

Hysteresis characterization by Eric Ogier

Eric Ogier (view profile)

Polynomial characterization of hysteresis type transfer features (hysteresis, hysteretic, cycle)

Hysteresis(Xh,Yh,n,s)

Exemple_animation.m

Example_static.m

image thumbnail

updated 1 month ago

ZfitGUI(varargin) by Jean-Luc Dellis

Jean-Luc Dellis (view profile)

ZfitGUI is a function which allows to plot, to fit and to simulate impedance data (impedance, admittance, model)

ZfitGUI(varargin)

image thumbnail

updated 1 month ago

LOESS regression smoothing by Gabriel Marsh

LOESS performs a locally weighted regression fit to noisy data (fitting, smoothing, loess)

fLOESS(noisy,span)

image thumbnail

updated 3 months ago

cubic Bezier least square fitting by Dr. Murtaza Khan

Approximation of data using cubic Bezier curve least square fitting (approximation, interpolation, cubic)

BezierInterpCPMatSegVec(p0mat,p1mat,p2mat,p3mat,NVec,vara...

ChordLengthNormND(p)

FindBezierControlPointsND(p,varargin)

image thumbnail

updated 5 months ago

Ellipsoid fit by Yury

Yury (view profile)

Fits an ellipsoid / sphere / paraboloid / hyperboloid to data using linear least squares. (ellipsoid, least squares, fitting)

ellipsoid_fit_new( X, equals )

test_ellipsoid_fit.m

test_hyperboloid_fit.m

image thumbnail

updated 6 months ago

fitresult2equation(fitresult) by Ben Oeveren

Make equation from the fitresult given by the function fit() (plot, fit, equation)

fitresult2equation(fitresult)

image thumbnail

updated 7 months ago

Fast Reducing of Sample Points for 1D Linear Interpolation by Daniel Herber

Daniel Herber (view profile)

For a specified absolute error tolerance, reduce a 1D data set for use with linear interpolation (algorithm, approximation, breakpoints)

EXAMPLES_reduce_interp_1d_linear

hessiancsd_mod(fun,x)

jacobiancsd_mod(fun,x)

image thumbnail

updated 9 months ago

lorentzfit(x,y,varargin) by Jered Wells

Jered Wells (view profile)

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

lorentzfit(x,y,varargin)

image thumbnail

updated 10 months ago

Fractional order scanning by Zhuo Li

Zhuo Li (view profile)

Fitting real world data using the fractional order LTI model (lti, fitting)

image thumbnail

updated 1 year ago

Markov Chain Monte Carlo sampling of posterior distribution by Aslak Grinsted

Aslak Grinsted (view profile)

MCMC sampling of using a cascaded metropolis (metropolis, mcmc, likelihood)

mcmc(m,loglikelihood,logmodelprior,stepfunction,mccount,s...

image thumbnail

updated 1 year ago

quantreg(x,y,tau,order,Nboot) by Aslak Grinsted

Aslak Grinsted (view profile)

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

quantreg(x,y,tau,order,Nboot)

image thumbnail

updated 1 year ago

Tidal fitting toolbox by Aslak Grinsted

Aslak Grinsted (view profile)

fit tidal components to an observed series of sea level and use them for prediction (madden julian, toolbox, tidal model)

tidalfit_demo

parseArgs(args,ArgStruct,varargin)

tidalfit(data,varargin)

image thumbnail

updated 1 year ago

fitmethis by Francisco de Castro

FITMETHIS finds best-fitting distribution to data vector (fitting, best fit, maximum likelihood)

fitmethis(data,varargin)

plotfitdist(data,distname,par,dtype,varargin)

image thumbnail

updated 1 year ago

Constraint polynomial fit by Marc

Marc (view profile)

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

polyfitc(X, Y, N, varargin)

image thumbnail

updated 1 year ago

Dielectric characterization by microwave cavity perturbation by Nathan Orloff

A custom toolbox and example code to measure complex permittivity by microwave cavity perturbation (microwave, cavity, perturbation)

cavity_deembedsample(allw, allw_err, allQ, allQ_err)

cavity_effvolfrac(dimvaried,dims,dimserr,n)

cavity_fitresonance(f, yri, pdist, pwindow, pheight, ploton)

image thumbnail

updated 1 year ago

Power Law, Exponential and Logarithmic Fit by Jonathan C. Lansey

Finds and plots the linear fit to some data points when plotted on a log scale. (curve fitting, fitting, power law)

logfit(x,y,varargin)

image thumbnail

updated almost 2 years ago

fitAdsorptionIsotherm by Steven Shimizu

Fits data to linear, Langmuir, Freundlich, Sips or Toth isotherms (adsorption isotherm, fitting, langmuir)

fitAdsorptionIsotherm(x,y,isotherm,ploton, xfit)

image thumbnail

updated 2 years ago

Discrete Orthogonal Polynomial Toolbox: DOPBox Version 1.8 by Matthew Harker, Paul O'Leary,

A toolbox for discrete orthogonal polynomials and their applications to fitting, ODEs etc. (discrete orthogonal p..., polynomial approximat..., fitting)

Constrained Basis Functions in a Sturm-Liouville Problem

Demo2: Demonstrate Constrained Solution Spaces

Demo3: Constraints Placed Not at Nodes

image thumbnail

updated 2 years ago

Lognormal Helpers by Alexandra

Fitting for lognormal distributions (lognormal, fitting, lognfit)

fit_logn(X, Y, varargin)

fit_norm(X, Y, varargin)

logn2mean(mu,sigma)

image thumbnail

updated 3 years ago

Table Breakpoint Optimization by Tucker McClure

A set of tools for finding the best way to reduce the size of a table. (fitting, tables, breakpoints)

Table Optimizer

find_best_table_1d(x_0, z_0, ...

find_best_table_1de( ...

image thumbnail

updated 3 years ago

Nadaraya-Watson smoothing by Jan Motl

Jan Motl (view profile)

A non-parametrical regression (smoothing) tool using Gaussian kernel. (regression, smoothing, smooth)

smoothing(ydata,varargin)

image thumbnail

updated 3 years ago

Fitting Harmonic Potential by Francois Dion

This is a simple function for Harmonic Potential Fitting (harmonic oscillator, fitting)

fit_harm(R,POT)

image thumbnail

updated 3 years ago

polyfitcon by Murat

Murat (view profile)

polynomial fitting with an optional constraint (can be set as a local extrema) (polynomial fitting, fitting, fmincon)

polyfitcon(x,y,n,xc,yc,p0,isLocExt)

image thumbnail

updated almost 4 years ago

Free-knot spline approximation by Bruno Luong

Bruno Luong (view profile)

Least squares approximation of 1D data using free-knots spline (fitting, bspline, free knots)

BBspline(varargin)

BSFK(x, y, k, nknots, fixknots, options)

BSFK_install

image thumbnail

updated 4 years ago

Weighted Nonlinear Curve Fit Script with Plotter by Jannick

Jannick (view profile)

This curve fitting script calculates best guess and errors using data with y-error. Plot see preview (fitting, nonlinear fitting, weighted nonlinear fi...)

paramtext(fitstr,c,cerr,nr,c2doF,Q,strings)

wnonlinfit(x,y,yerr,func,beta0,varargin)

example.m

image thumbnail

updated 4 years ago

fitting critically damped simple harmonic oscillator by Stephan Koehler

Four-parameter fit to the equation A*(1 + t/T2).*exp(-t/T1) + offset (fitting, harmonic oscillator)

fit_critical_damping( varargin )

image thumbnail

updated 4 years ago

fitting decaying oscillations by Stephan Koehler

From inputs t, y the best fit to the decaying oscillation is determined. (signal processing, fitting)

fit_decay_oscillations( varargin )

image thumbnail

updated 4 years ago

Orthogonal Linear Regression in 3D-space by using Principal Components Analysis by Ivo Petras

Ivo Petras (view profile)

Orthogonal Linear Regression by using PCA (statistics, probability, total least squares)

fit_3D_data(XData, YData, ZData, geometry, visualization,...

image thumbnail

updated 4 years ago

2D Line Curvature and Normals by Dirk-Jan Kroon

Dirk-Jan Kroon (view profile)

Accurate Curvature and Normals of a line/contour consisting of 2D points (normals, normal, curvature)

LineCurvature2D(Vertices,Lines)

LineNormals2D(Vertices,Lines)

image thumbnail

updated almost 5 years ago

gaussian mix fit of multiple connected ellipses by Georg D

Georg D (view profile)

processes image data containing connected ellipses. we try to fit a gaussian mixture to ellipses. (image processing, ellipse, fitting)

exampleFindEllipses

fitMixGauss(xyData,nrgaussians,param,plotresult,replicate...

imageToData(img)

image thumbnail

updated almost 5 years ago

Smoothing 2D Contours Using Local Regression Lines by Tolga Birdal

This submission contains both the implementation and the test function for 2D contour smoothing. (smoothing, contour processing, chain codes)

test_smooth_contours()

image thumbnail

updated 5 years ago

polyfit3 by Antoni J. Canós

Fit polynomial to data, with new features as forced to zero coefficients and data weighting. (approximation, interpolation, fitting)

polyfit3(x,y,n,nul,w)

image thumbnail

updated 5 years ago

AdvCurveFit by Robert Bemis

Robert Bemis (view profile)

Solve complex curve fit problem with parameter pooling & stratification by nonlinear least-squares. (optimization, curve, fitting)

Adventures in curve fitting

PkBgErr(x,y,pk,bg)

limits(a)

image thumbnail

updated almost 7 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)

decayHistogram(decayTimes,varargin)

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

pendulumDE(tVals,omega0,startAngle)

image thumbnail

updated almost 7 years ago

3D Least squares polynomial fit in x and y by Thomas

Thomas (view profile)

Fit a two dimensional f(x,y) polynomial to sampled x,y,z data triplets (optimization, image processing, signal processing)

least_square_polyfit_xyz(x,y,z,m)

image thumbnail

updated 9 years ago

gridtrimesh by Willie Brink

Fits a square grid surface of the form z = f(x,y) to a triangular mesh surface. (approximation, interpolation, square)

gridtrimesh(F,V,X,Y)

demonstration.m

image thumbnail

updated almost 10 years ago

gaussian curve fit by Yohanan Sivan

Yohanan Sivan (view profile)

gaussian curve fit (statistics, probability, gaussian curve fit)

main

mygaussfit(x,y,h)

image thumbnail

updated almost 10 years ago

Rational Polynomial curve fitting by Paul Godfrey

Paul Godfrey (view profile)

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

ratpolyfit(x,y,kn,kd)

image thumbnail

updated 10 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)

fitChiSquare(xData,yData,modelFun,guess,dxData,dyData,opt...

image thumbnail

updated almost 13 years ago

NNLS and constrained regression by Rasmus Bro

Rasmus Bro (view profile)

M-files for non-negativity constrained least squares regression. (statistics, probability, nonnegativity)

fnnls(XtX,Xty,tol)

fnnlsb(XtX,Xty,P_old,Z_old,tol)

image thumbnail

updated 14 years ago

Spec1d by Emmanuel Farhi

1-D data visualisation and fitting. (optimization, fitting, 2dplotting)

image thumbnail

updated 14 years ago

chi_squared.m by Mike Scarpulla

Returns chi^2 given data and a fit (approximation, interpolation, fitting)

chi_squared(y,fit,P,eb)

Contact us