image thumbnail

updated 12 days ago

Fast and Accurate Symmetric Positive Definite Matrix Inverse Using Cholesky Decomposition by Eric Blake

Eric Blake (view profile)

use LAPACK Cholesky to invert real positive definite symmetric matrix; faster more accurate than inv (cholesky decompositio..., matrix inverse, inverse)

run_to_compile_and_test.m

image thumbnail

updated 1 month ago

polyplot by Chad Greene

Chad Greene (view profile)

Easily plot linear trend lines or polynomial fits to scattered data. (polyfit, polyval, plot)

polyplot documentation

polyplot(x,y,varargin)

image thumbnail

updated 1 month ago

Analytical solution for Orthogonal Linear Least Squares in two dimensions by Liber Eleutherios

The function returns the Orthogonal Linear Least Squares estimate for parameters of line ax+by+c=0 (statistics, probability, least squares)

OrthLLS2D(x, y)

image thumbnail

updated 10 months ago

SLM - Shape Language Modeling by John D'Errico

John D'Errico (view profile)

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

slm_tutorial

hermite2slm(harray)

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

image thumbnail

updated 10 months ago

trend by Chad Greene

Chad Greene (view profile)

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

trend(A,t,dim)

image thumbnail

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

Circle fitting using modified Coopes method by Daniel

Daniel (view profile)

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

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

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

LMFnlsq - Solution of nonlinear least squares by Miroslav Balda

Miroslav Balda (view profile)

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

Hui Ma (view profile)

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

Hui Ma (view profile)

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

Hui Ma (view profile)

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

Hui Ma (view profile)

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

fit_ellipseLMG(XY,ParGini,LambdaIni)

image thumbnail

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

John D'Errico (view profile)

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

Matthew (view profile)

Ellipse tools (ellipse, least squares)

elltools_calc_para(c)

elltools_calc_poly(p, x1, x2)

elltools_conv_par2poly(c)

image thumbnail

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

Ellipsoid fit by Yury

Yury (view profile)

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

image thumbnail

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

Ellipse Fit (Direct method) by Nikolai Chernov

Nikolai Chernov (view profile)

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 6 years ago

Ellipse Fit (Taubin method) by Nikolai Chernov

Nikolai Chernov (view profile)

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 6 years ago

Circle Fit (Taubin method) by Nikolai Chernov

Nikolai Chernov (view profile)

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

image thumbnail

updated 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 almost 8 years ago

fitellipse.m by Richard Brown

Richard Brown (view profile)

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

fitcircle.m by Richard Brown

Richard Brown (view profile)

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

active set algorithm by Uriel Roque

Uriel Roque (view profile)

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

image thumbnail

updated 8 years ago

Nonlinear Regression Shapes by John D'Errico

John D'Errico (view profile)

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 10 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 10 years ago

Circle fit by Izhak Bucher

Izhak Bucher (view profile)

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 11 years ago

fit_ellipse by Ohad Gal

Ohad Gal (view profile)

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