fits(f,xd,yd,p0,n,m)
721132019-07-10T23:00:11Z2019-07-10T23:00:11ZParameter Fitting: given a model function f(x,p), this program finds the minimizer of F(p) = norm(d,n), where d = error vector Usage: Least squares...
View ArticleLeast Squares using Cholesky Decomposition
599692018-06-29T17:21:39Z2018-06-29T17:21:39ZThis function computes the n-dimensional column vector x that minimizes norm(b-A*x), where A is an m-by-n coefficient matrix and b is the m-dimensional...
View ArticleAhmed-ElTahan/Stochastic-Recursive-Modified-Extended-Least-Squreas-RMELS
562032016-07-08T08:28:36Z2016-07-08T08:28:36Z% This function is made by Ahmed ElTahan%{ This function is intended to estimate the parameters of a dynamic system of unknown parameters using the...
View ArticleLevel Correction for I.C. Engine Cylinder Pressure Trace
689322018-09-26T19:34:21Z2018-09-26T19:34:21ZWhen measuring in-cylinder pressure on an I.C. (internal combustion) engine, pressure transducer drift can cause the measured values to be shifted up or...
View Articlevarcov
723722019-08-05T20:17:16Z2019-08-05T20:17:16ZVARCOV calculates the variance-covariance matrix for a regression created with the Matlab |fit| function. This matrix is not otherwise directly accessible...
View ArticleLeast Squares Curve Fitting
121272012-03-12T06:17:49Z2012-03-12T06:17:49ZVery limited application of least squares. It gives you the plotted curves of original and plotted data with the equation in polynomial form. you can also...
View Article3D Least squares polynomial fit in x and y
240622009-05-09T16:29:06Z2009-05-09T16:29:06ZOften, measured data is comprised of N sampled values of z, evaluated at N locations (x,y). With this function, you can calculate the coefficients of the...
View ArticleGenerate Equation for Interpolation/Extrapolation via Method of Least Squares
594752016-10-05T03:03:11Z2016-10-05T03:03:11ZInput is abscissa, ordinate and the degree of output equationThis is in reference to Least Square MethodCode is designed to help students learn step-by-step...
View ArticleLine-Line Intersection (N lines, D space)
598052016-10-29T14:23:33Z2016-10-29T14:23:33ZFind intersection of N lines in D-dimensional space, in least squares sense. X = lineXline(A,B) -line starts & ends as N*D X = lineXline({x y..}) -lines...
View Articleactive set algorithm
109082007-04-18T17:05:55Z2007-04-18T17:05:55ZThis function solves linear least squares problem with nonnegative variables using the active set algorithm described in: Portugal, Judice and Vicente, A...
View ArticleCircle fitting using modified Coopes method
407002013-03-08T16:53:06Z2013-03-08T16:53:06ZThe included function 'ciclefit' estimates the radius and center of a circle represented by data-points.This is achieved using a modified version of Coopes...
View Articletrilin
311252011-04-20T05:33:53Z2011-04-20T05:33:53ZIf you like the idea behind MATLAB's linsolve or Tim Davis' linfactor, you might find trilin useful as well.Let's say you have a generalized least squares...
View Articlenlsq & nnnlsq Least squares
526162017-12-31T05:47:24Z2017-12-31T05:47:24ZRobust & non negative non linear least squares: nlsq & nnnlsqnlsq Robust non linear least squares uses singular value decomposition and attempts a...
View Articleelltools
279392010-06-18T07:02:07Z2010-06-18T07:02:07ZA small collection of m files for dealing with fitting ellipses to sets of (x,y) data, converting between two different parameterisations of ellipse shape,...
View ArticleFitting an ellipse to a given set of points using Trust Region method
321072011-07-06T21:28:45Z2011-07-06T21:28:45ZThis is a version of ellipse fit when applying Trust Region minimization scheme.The most accurate and robust fit minimizes geometric (orthogonal) distances...
View ArticleVery large AR regressions
250832009-08-20T08:21:26Z2009-08-20T08:21:26ZHeavily optimized for very large autoregressions (ie. 100 millions observations and 500 lags). Doesn't consume additional memory. Up to x100 increase in...
View ArticleModel Replay
228952010-03-29T09:13:15Z2010-03-29T09:13:15ZThese MATLAB files serve as a graphical user interface for using the APMonitor moving horizon estimation (MHE) feature. The APMonitor executable and example...
View Articleweighted least-squares + weighted min-max optimization
214222008-09-12T14:06:03Z2008-09-12T14:06:03ZThis is a wrapper function to solve optimization problems (using FMINCON) of the form:min w.r.t. X of CostFunc(X) = beta*(W_ls*F(X)) + (1 -...
View ArticleBatchLeastSquares(u,y,d,nb,na)
562642016-04-04T09:40:21Z2016-04-04T09:40:21ZThis function estimates the the transfer function coefficients (System Parameters) offline using Batch Least Squares Method.
View ArticleFitting a conic to a given set of points using Trust Region method
321092011-07-06T21:59:55Z2011-07-06T21:59:55ZA 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