There is a matlab script for finding maximum volume ellipsoid in a polytope described by a number of inequality. However I don't understand what information does the $E$ matrix contains and how can I extract it. To be honest, I don't even understand these 2 ellipsoid equations. I couldn't find any information on this.
Find the maximum volume ellipsoid
$$Ell = \{\,v:\quad v = x + Es, ||s|| \leq 1\}$$
or $$Ell = \{\,v:\quad ||E^{-1}(v-x)|| \leq 1\}$$
inscribing a full-dimensional polytope
$$\{\,v:\quad Av \leq b\}$$
Input: A, b --- defining the polytope
(Optional x0 --- interior point, A*x0 < b)
Output:
x --- center of the ellipsoid, and
E --- matrix defining ellipsoid