how can i plot 3D ellipsoid
조회 수: 26 (최근 30일)
이전 댓글 표시
Hi
I would like to plot a 3D ellipsoid without matlab's functions and thanks to an implicit equation
Best regard
댓글 수: 2
James Tursa
2020년 5월 9일
"... without matlab's functions ..."
What does this mean? As written, this is impossible.
답변 (1개)
Ameer Hamza
2020년 5월 9일
Try this
a = 1;
b = 0.5;
c = 2;
f = @(x,y,z) (x/a).^2 + (y/b).^2 + (z/c).^2 - 1;
fimplicit3(f, [-3 3 -3 3 -3 3]);
axis equal

댓글 수: 3
Euclides
2023년 7월 14일
편집: Euclides
2023년 7월 14일
quick question....... is it possible to replicate this sort of plot by using only the ellipsoidal radius (i.e, a function of theta, phi, a, b, and c)? For instance, for the ellipse, I can use the elliptical radius in polar coordinates (function of phi, a and b) and then use the in-built polarplot function to visualize ellipses of various shapes. I am looking for something equivalent for the ellipsoid case, but haven't found it so far. There is the in-built ellipsoid function, but that uses Cartesian coordinates and I want to directly use the ellipsoidal radius function. Any help is very welcome!
참고 항목
카테고리
Help Center 및 File Exchange에서 Polar Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!