quadforms

versión 1.2.0.0 (2.82 KB) por Giampiero Campa
Convert quadratics from Homogeneous to Center form and back.

712 descargas

Actualizada 20 Oct 2010

Ver licencia

This zip file contains 2 functions to transform generic (nD) quadratic hyper-surfaces from homogeneous form (that is [x' 1]*E*[x;1]=0) to center form (that is (x'-c')*inv(Q)*(x-c)=1, which is used for example in the ellipsoidal toolbox).

Examples:
% zero-centered ellipse of semiaxes 1 and 2
% center to homogeneous form:
E=c2h(diag([1 4]),[0 0]')
% homogeneous to center form:
[Q,c]=h2c(E)

Citar como

Giampiero Campa (2022). quadforms (https://www.mathworks.com/matlabcentral/fileexchange/25798-quadforms), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2009b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!