Answered step by step
Verified Expert Solution
Question
1 Approved Answer
FOR MATLAB PROGRAMMING: Here's what I have: a = 2; b = 1; x = a*cosphi*costheta; y = b*cosphi*sintheta; z = b*sinphi; [x,y,z] = ellipsoid(xa,ya,za,xb,yb,zb);
FOR MATLAB PROGRAMMING:
Here's what I have:
a = 2; b = 1; x = a*cos\phi*cos\theta; y = b*cos\phi*sin\theta; z = b*sin\phi; [x,y,z] = ellipsoid(xa,ya,za,xb,yb,zb);
I'm pretty sure it's something to do with the phi's and thetas as to why my code isn't working but my book is super vague about what to do here, any help is appreciate.
An ellipsoid of revolution is the solid analog of a two-dimensional ellipse. The equations for an ellipsoid of revolution rotated around the x axis are x = acos cos (8.25) b sin where a is radius along the x-axis, and b is the radius along the y- and z-axes. Plot an ellipsoid of revolution for a- 2 and b- 1Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started