The following Matlab project contains the source code and Matlab examples used for convert quadratics from homogeneous to center form and back. .
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).

The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.

## Project Files:

File Name | Size |
---|---|

c2h.m | 1851 |

h2c.m | 1586 |

license.txt | 1514 |