draw ellipsoid

This function draws ellipsoid in 2D for a given weighting matrix

You are now following this Submission

This function draws 2D ellipse centred at origin in the form of Omega = {x=W*u, ||u||<=1} along with its major axis indicated. If the ellipse is defined in the form of x'Qx<1, one needs to choose
W = inv(sqrtm(Q))
during the function call.

Ex: Let W = [3 0.1; 0.1 2]
One can draw the ellipsoid region simply by calling the function
draw_ellipse(W,'k')

Cite As

ibrahim kucukdemiral (2026). draw ellipsoid (https://au.mathworks.com/matlabcentral/fileexchange/86093-draw-ellipsoid), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0