image thumbnail

updated 6 months ago

Regression through least square(normal equations) by Koteswar Rao Jerripothula

Basic least square algorithm (Normal equations) for regression (least square, machine learning, regression)

least_square(x,y)

image thumbnail

updated 1 year ago

Interpolant/Extrapolant 2D/3D data by Mohammad Abouali

Creates Interpolant/Extrapolant for efficient mapping of data between 2D and 3D grids. (interpolationextrapol..., interpolation, extrapolation)

P=ConstructCubicInterpolator(xs,ys,xd,yd,nInterp)

P=ConstructProjector2D(xs,ys,xd,yd,nPoly,nInterp)

P=ConstructProjector3D(xs,ys,zs,xd,yd,zd,nPoly,nInterp)

image thumbnail

updated 2 years ago

Identification by least square method by Azzi Abdelmalek

Identification of Linear system, using a least square method. (identification, linear systems, least square)

least_square.m

image thumbnail

updated 2 years ago

Savitzky-Golay smoothing filter by Shao Ying Huang

provide an alternative for Savitzky-Golay smoothing filter (data smoothing, curve fitting, least square)

savitzkyGolay1D_rle(vIN,order,interval)

image thumbnail

updated 2 years ago

Weighted Nonlinear Curve Fit Script with Plotter by Jannick

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

Moving Least Square(MLS1D) by Jin

the file can be used to numeric interpolation based on moving Least Square. (interpolation, least square, curve fitting)

MLS1DShape(m, nnodes, xi, npoints, x, dmI, wtype, para)

Weight(type, para, di, dmI)

MLS1D.m

image thumbnail

updated 3 years ago

General Reconstruction Demo in 2D by Aaronne

General Reconstruction Demo in 2D (reconstruction, backprojection, filtered backprojecti...)

ReconstructionDemo.m

image thumbnail

updated 3 years ago

LSMR: An iterative algorithm for least-squares problems by David

Official successor to the LSQR algorithm, developed by David Fong and Michael Saunders. (matrix, sparse matrix, linear equation)

[x, istop, itn, normr, normAr, normA, condA, normx]...

lsmrtest( m,n,lambda,localSize )

image thumbnail

updated 4 years ago

Multiple same-size linear solver by Bruno Luong

Solve multiple systems of linear equations of the same size (linear equations, linear system, least square)

MultiProd(M, X)

MultiSolver(M, RHS)

SliceMultiProd(M, X)

image thumbnail

updated 5 years ago

Prediction of Oldfaithful volcanic eruption:Auto Regression by Sumit Tripathi

Derive a model for predicting Old Faithful volcanic eruption based on ARX and ARMAX. (arx, armax, autoregression)

systemID_ARMAX_oldfaithful()

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

Contact us