File Exchange

image thumbnail

Object-oriented tools for fitting conics and quadrics

version 1.1.0 (345 KB) by Matt J
A tool set for fitting various conics and quadric surfaces, e.g., ellipses, cylinders, spheres, planes, and lines.

11 Downloads

Updated 15 Mar 2021

View Version History

View License

This submission offers a tool set for fitting 2D conics (ellipses, circles, lines,...) as well as 3D quadric surfaces (ellipsoids, spheres, planes, cylinders,...). Each type of fit is represented by an object within a class hierarchy. For each fit type, overloaded methods are provided for generating noisy test data, fitting the data, and visualizing and post-sampling the results.

Currently, not all curve/surface types in the conic/quadric family are covered by this tool set. Though I may add more over time, I've started with a subset of the ones that seem to be the most commonly encountered. Similarly, most fitting algorithms used by the tool set are very basic algebraic methods, although I may add more refined algorithms if an interest is expressed.

Various example uses of these tools are illustrated in the Examples tab.

Cite As

Matt J (2021). Object-oriented tools for fitting conics and quadrics (https://www.mathworks.com/matlabcentral/fileexchange/87584-object-oriented-tools-for-fitting-conics-and-quadrics), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (1)

Dimitrii Nikolaev

MATLAB Release Compatibility
Created with R2020b
Compatible with R2018a and later releases
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!