oblate and prolate figs
1 view (last 30 days)
Show older comments
Mushtaq Al-Jubbori
on 26 Jan 2023
Commented: Mushtaq Al-Jubbori
on 14 Feb 2023
Please can you help me to plot oblate and prolate ( code of Matlap) as in image

and if you can writen code of x^2/a^2 +y^2/b^2=1, where a^2=5.5 and b^2=7.73
Accepted Answer
DGM
on 27 Jan 2023
r = [1 1 2]; % radius [x y z]
c = [0 0 0]; % center [x y z]
npoints = 30;
% if no output arguments are requested, a surf plot is created
% otherwise, look at the documentation
ellipsoid(c(1),c(2),c(3),r(1),r(2),r(3),npoints);
colormap(parula)
axis equal
More Answers (0)
See Also
Categories
Find more on Lighting, Transparency, and Shading in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!