Quantcast
Channel: MATLAB Central - File Exchange - tag:"least squares"
Browsing all 522 articles
Browse latest View live
↧

Regression Utilities

431352020-11-15T04:08:15Z2020-11-15T04:08:15ZThis zip file contains 11 functions related to regression. The functions are:1) cookdist.m - Cook's distance for data points2) dregr.m - Deming regression3)...

View Article


Nonlinear Regression Shapes

108642006-06-22T16:53:37Z2006-06-22T16:53:37ZThe art of fitting a nonlinear regression model often starts with choosing a model form. This submission is an attempt to teach the reader a simple but...

View Article


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

321082011-07-06T21:45:01Z2011-07-06T21:45:01ZA general conic can be uniquely describe by the following equation up to a scale factor: Ax^2+Bxy+Cy^2+Dx+Ey+F=0Then (A,B,C,D,E,F) is often called algebraic...

View Article

fitcircle.m

150602007-05-21T17:00:44Z2007-05-21T17:00:44ZAlthough a linear least squares fit of a circle to 2D data can be computed, this is not the solution which minimizes the distances from the points to the...

View Article

Ellipse Fit (Taubin method)

226832009-01-14T21:56:42Z2009-01-14T21:56:42ZThis is a fast non-iterative ellipse fit, and among fast non-iterative ellipse fits this is the most accurate and robust. It takes the xy-coordinates of...

View Article


Ellipse Fit (Direct method)

226842009-01-16T12:56:47Z2009-01-16T12:56:47ZThis is a fast and non-iterative ellipse fit. Usage: A = EllipseDirectFit(XY)Input: XY(n,2) is the array of coordinates of n points x(i)=XY(i,1),...

View Article

sinefit

682732019-12-17T23:22:48Z2019-12-17T23:22:48ZTHIS FILE IS OUT OF DATE. The current, more efficient version is in the Climate Data Toolbox here: https://www.mathworks.com/matlabcentral/fileexchange/70338.

View Article

fitellipse.m

151252016-03-04T18:49:24Z2016-03-04T18:49:24ZThere are two main methods for least squares ellipse fitting:1) Minimise algebraic distance, i.e. minimise sum(F(x)^2) subject to some constraint, where...

View Article


Circle Fit (Taubin method)

226782009-01-13T23:50:34Z2009-01-13T23:50:34ZThis is a robust and accurate circle fit. It works well even if datapoints are observed only within a small arc. This circle fit wasproposed by G. Taubin in...

View Article


Batched partitioned nonlinear least squares

499502015-04-23T18:02:11Z2015-04-23T18:02:11ZOccasionally I see requests to solve very many nonlinear least squares problems, all of which have the same model, but different sets of data. The simple...

View Article

Ellipsoid fit

246932015-12-04T23:59:14Z2015-12-04T23:59:14ZFits an ellipsoid or other conic surface into a 3D set of points approximating such a surface, allows some constraints, like orientation constraint and...

View Article

polyplot

491192015-01-22T18:53:16Z2015-01-22T18:53:16ZThis function simply plots a polynomial fit to scattered x,y data. This function can be used to easily add a linear trend line or other polynomial fit to a...

View Article

trend

463632021-03-25T19:13:49Z2021-03-25T19:13:49Z* * * NOTICE * * * A NEW AND IMPROVED VERSION OF THIS FUNCTION CAN BE FOUND IN THE CLIMATE DATA TOOLBOX FOR MATLAB. GET IT HERE:...

View Article


LMFnlsq - Solution of nonlinear least squares

175342012-02-25T07:54:08Z2012-02-25T07:54:08ZThe function The LMFnlsq.m serves for finding optimal solution of an overdetermined system of nonlinear equations in the least-squares sense. The standard...

View Article

LSE

138352010-06-30T08:28:42Z2010-06-30T08:28:42ZThis submission was written by request - as a tool to handle linear least squares problems, subject to linear equality constraints that may potentially be...

View Article


Sphere Fit (least squared)

341292013-07-02T19:19:50Z2013-07-02T19:19:50ZGiven a set of data points, this function calculates the center and radius of the data in a least squared sense. The least squared equations are used to...

View Article

fit_ellipse

32152003-10-02T09:32:01Z2003-10-02T09:32:01ZThis function uses the Least-Squares criterion for estimation of the best fit to an ellipse from a given set of points (x,y). The LS estimation is done for...

View Article


Circle fit

55572004-07-29T09:34:44Z2004-07-29T09:34:44ZRevival of a 14 years old code (written in 1991 for MATLAB 2.x).Given a set of measured x,y pairs that a re supposed to reside on a circle, but with some...

View Article

Free-knot spline approximation

258722022-02-24T16:21:22Z2022-02-24T16:21:22ZThe purpose of this function is to provide a flexible and robust fit to one-dimensional data using free-knot splines. The knots are free and able to cope...

View Article

SLM - Shape Language Modeling

If you could only download one curve fitting tool to your laptop on a desert island, this should be it.For many years I have recommended that people use least squares splines for their curve fits, with...

View Article
Browsing all 522 articles
Browse latest View live