Datum2D.m

Fits arbitrary-order linear least squares equation to xy data with (optional) automatic outlier ...
2.1K Downloads
Updated 13 Feb 2006

No License

Arbitrary-order polynomial datum is fit to and extracted from input xy data. Outliers - defined based either on a non-parametric or mutliples-of-standard deviation criteria - are optionally identified and "set aside". The interative solution proceeds until there are no remaining outliers in the decimated dataset. If the specified fit equation is quadratic, the (linear approximation) circular arc center point xo,yo and radius R are returned, along with the residuals vector, polynomial coefficients, and terminal outlier criterion. Xo,yo, and R are useful as initial guesses for a subsequent "exact" nonlinear (e.g. Levenberg-Marquardt/lsqnonlin) circle fit solution.

Cite As

J. David Cogdell (2024). Datum2D.m (https://www.mathworks.com/matlabcentral/fileexchange/9968-datum2d-m), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP3
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Linear and Nonlinear Regression in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0