Fit sample datasets to parabola, ellipse, or hyperbola. These functions will fit functions to translated and rotated datasets. The code for ellipses & hyperbolas ported from papers by O'Leary (see documentation). Supporting tools AtoG and GtoA, for converting between different equation froms, are provided. These are marginally different from the same tools posted by Hui Ma (and others) independently.
Carl Witthoft (2021). fitconicsections package (https://www.mathworks.com/matlabcentral/fileexchange/60533-fitconicsections-package), MATLAB Central File Exchange. Retrieved .
Inspired by: Conversion of conics parameters
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.
This works really well! Thanks, mate!