draw ellipsoid
Version 1.0.0 (1.27 KB) by
ibrahim kucukdemiral
This function draws ellipsoid in 2D for a given weighting matrix
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 LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |