image thumbnail

updated 2 months ago

SLM - Shape Language Modeling by John D'Errico

Least squares spline modeling using shape primitives (spline, splines, cubic)

slm_tutorial

hermite2slm(harray)

lse(A,b,C,d,solverflag,weights)

image thumbnail

updated 3 months ago

trend by Chad Greene

Fast function for mapping trends along any dimension in 3D data. (netcdf, nc, reanalysis)

trend(A,t,dim)

image thumbnail

updated 5 months ago

Regression Utilities by Joe Henning

A variety of regression utilities (regression, statistics, least squares)

cookdist(x, y, sigy, c, basis, plotflag)

irsvdregr(x, y, c, k)

ladratregr(x, y, sigy, p, q, monflag)

image thumbnail

updated 5 months ago

Fast Symmetric Positive Definite Matrix Inverse by Eric Blake

Uses LAPACK, Cholesky to invert real, positive definite, symmetric matrix. Faster than inv. (cholesky decompositio..., covariance matrix, kalman filter)

run_to_compile_and_test.m

image thumbnail

updated 1 year ago

Sphere Fit (least squared) by Alan Jennings

Fits a sphere to a set of noisy data. Does not require a wide arc or many points. (least squares, statistics, optimization)

sphereFit_Example

sphereFit(X)

image thumbnail

updated 1 year ago

Restricted Cubic Spline by Leonidas Bantis

Fits the so called restricted cubic spline via least squares and obtains 95% bootstrap based CIs. (spline, restricted cubic spli..., least squares)

[bhat f sse knots CI]=rcspline(x,y,knots,bootsams,atwhich...

[bhat ff sse X]=rcs(x,y,knots,plots)

example.m

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 almost 2 years ago

NIST Statistical Reference Datasets for Nonlinear Regression by Adam Gripton

MAT file of all the benchmark Nonlinear Regression problems from the NIST StRD website (nonlinear, regression, statistics)

image thumbnail

updated 2 years ago

Free-knot spline approximation by Bruno Luong

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

Least Squares Curve Fitting by Muhammad Tauha Ali

Graphical interfacing of least squares (plotted curves, data, polynomial)

curve_fitting(varargin)

image thumbnail

updated 2 years ago

LMFnlsq - Solution of nonlinear least squares by Miroslav Balda

Efficient and stable Levenberg-Marquard-Fletcher method for solving of nonlinear equations (optimization, levenberg, marquardt)

LMFnlsq.m

res(p)

LMFnlsqtest.m

image thumbnail

updated 3 years ago

Fitting a conic to a given set of points using Trust Region method by Hui Ma

Conic fit using algebraic parameters based on Trust Region minimization scheme. (conic, conic fitting, orthogonal distances)

TR_conic(XY,ParAini,DeltaIni)

image thumbnail

updated 3 years ago

Fitting a conic to a given set of points using Levenberg-Marquardt method by Hui Ma

Conic fit using algebraic parameters based on Levenberg-Marquardt minimization scheme. (conic, conic fitting, orthogonal distances)

fit_conicLMA(XY,ParAini,LambdaIni)

image thumbnail

updated 3 years ago

Fitting an ellipse to a given set of points using Trust Region method by Hui Ma

Ellipse fit using geometric parameters based on Trust Region minimization scheme. (ellipse, ellipse fitting, orthogonal distances)

TR_ellipse(XY,ParGIni,DeltaIni)

image thumbnail

updated 3 years ago

Fitting an ellipse to a given set of points by Hui Ma

Ellipse fits using geometric parameters based on Levenberg-Marquardt minimization scheme. (ellipse, ellipse fitting, orthogonal distances)

fit_ellipseLMG(XY,ParGini,LambdaIni)

image thumbnail

updated 3 years ago

trilin by Felipe G. Nievinski

Facilitates the reuse of matrix factorizations in large dense linear algebra problems. (backslash, factorization, inv)

chol2(varargin)

cputime_res

cputime_tol

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 3 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 4 years ago

LSE by John D'Errico

A linear least squares solver, subject to linear equality constraints (least squares, regression, linear regression)

lse(A,b,C,d,solverflag,weights)

image thumbnail

updated 4 years ago

elltools by Matthew

Ellipse tools (ellipse, least squares)

elltools_calc_para(c)

elltools_calc_poly(p, x1, x2)

elltools_conv_par2poly(c)

image thumbnail

updated 4 years ago

Model Replay by Ben Spivey

Performs state or parameter estimation of process models using the APMonitor executable. (gui, optimization, data export)

ModelReplayGUI2(varargin)

cellwrite(filename, cellarray)

tabpanel(varargin)

image thumbnail

updated 4 years ago

Linear Regression by michael scheinfeild

linear regressing fit to line in the method of gradient descent for minimizing square error (linear regression, gradient descent, fitting line)

gradient_descent_opt(xi,yi,theta_st,nsteps,mindiff,learnr...

image thumbnail

updated almost 5 years ago

Very large AR regressions by Alexander Migita

Very large autoregressions (econometrics, least squares, ols)

xL(y, x, lags)

example.m

image thumbnail

updated almost 5 years ago

Ellipsoid fit by Yury Petrov

Fits an ellipsoid to data using linear least squares. (ellipsoid, least squares, fitting)

ellipsoid_fit( X, flag, equals )

test_ellipsoid_fit.m

image thumbnail

updated 5 years ago

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

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

coeff=least_square_polyfit_xyz(x,y,z,m)

image thumbnail

updated 5 years ago

Orthogonal Least Squares Algorithms for Sparse Signal Reconstruction by Angshul Majumdar

Greedy Algorithms for Underdetermined but Sparse Solutions (image processing, simulation, signal processing)

A=matrix_normalizer(B)

GenSig(n, k)

OLS(A, y, m, err)

image thumbnail

updated 5 years ago

Ellipse Fit (Direct method) by Nikolai Chernov

Fits an ellipse to a set of points on a plane; returns the coefficients of the ellipse's equation (image processing, statistics, optimization)

EllipseDirectFit(XY);

image thumbnail

updated 5 years ago

Ellipse Fit (Taubin method) by Nikolai Chernov

Fits an ellipse to a set of points on a plane; returns coefficients of the ellipse's equation. (image processing, statistics, probabilty)

EllipseFitByTaubin(XY);

image thumbnail

updated 5 years ago

Circle Fit (Taubin method) by Nikolai Chernov

Fits a circle to a set of data points on a plane; returns the circle center (a,b) and radius R. (image processing, statistics, optimization)

CircleFitByTaubin(XY)

image thumbnail

updated 5 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 5 years ago

Analytical solution for Orthogonal Linear Least Squares in two dimensions by Francesco Pozzi

The function returns the Orthogonal Linear Least Squares estimate for parameters of line ax+by+c=0 (least squares, orthogonal least squa..., orthogonal linear lea...)

OrthLLS2D(x, y)

image thumbnail

updated almost 6 years ago

weighted least-squares + weighted min-max optimization by Lai Chiong Ching

Optimization using both weighted least squares and weighted min-max (optimization, least squares, minmax)

...

egCostFunc(x)

egNlcon(x)

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

fitcircle.m by Richard Brown

Fits circles to 2D data using nonlinear least squares to minimise geometric error (approximation, interpolation, fitcircle)

Fitcircle Demonstration

fitcircle(x, varargin)

test_main.m

image thumbnail

updated 7 years ago

active set algorithm by Uriel Roque

solve linear least squares problem with nonnegative variables (linear algebra, nnls, nvlsq)

activeset(A,b)

image thumbnail

updated 8 years ago

Nonlinear Regression Shapes by John D'Errico

Curve fitting, empirical modeling, and an appreciation of shape (regression, nonlinear regression, shape)

fminspleas(funlist,NLPstart,xdata,ydata,INLB,INUB,options)

bestiary.m

shapes.m

image thumbnail

updated 9 years ago

Comprehensive DSP Toolbox v1.0 by Evan Ruzanski

General digital signal processing toolbox for MATLAB containing 20 useful functions. (dsp, blaschke products, digital filter design)

er_add(f1,f2)

er_blaschke(f, s, phi)

er_conv(f1,f2)

image thumbnail

updated almost 10 years ago

Circle fit by Izhak Bucher

Fit a circle to a set of measured x,y points. (approximation, interpolation, circle fit)

circfit(x,y)

try_circ_fit.m

image thumbnail

updated almost 11 years ago

fit_ellipse by Ohad Gal

Find the best fit for an ellipse using a given set of points (a closed contour). (specialized, plotting, fit)

fit_ellipse( x,y,axis_handle )

Contact us