An ellipse or hyperbola can be uniquely defined by 5 parameters, center(Xc,Yc), semiaxes a and b,and angle of tilt θ. so(Xc,Yc,a,b,θ)is known as standard geometric parameter vector.
Also, a general conic can be uniquely describe by the following equation up to a scale factor: Ax^2+Bxy+Cy^2+Dx+Ey+F=0
Then (A,B,C,D,E,F) is often called algebraic parameter vector of the conic.
This package includes two programs "AtoG" and "GtoA" which enable us to convert between these two different parametrization schemes.
Hui Ma (2022). Conversion of conics parameters (https://www.mathworks.com/matlabcentral/fileexchange/32105-conversion-of-conics-parameters), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired: fitconicsections package
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!