%% Ellipsoid
% In CORA, ellipsoids are instantiated by

% E = ellipsoid(Q,q);

% where Q is the positive semi-definite shape matrix and q is the center.
% Example:

% initialize ellipsoid
Q = [1 -1; -1 2];
q = [2;1];
E = ellipsoid(Q,q);

% plot ellipsoid
plot(E);