draw ellipsoid

This function draws ellipsoid in 2D for a given weighting matrix
54 Downloads
Updated 21 Jan 2021

View License

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 (2024). draw ellipsoid (https://www.mathworks.com/matlabcentral/fileexchange/86093-draw-ellipsoid), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2020b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0