MATLAB 3D plot in MATLAB of a sphere inside an open pit.

  • Thread starter mulface
  • Start date
Ok so im trying to do this project for uni.

"A working pit is plan to be dug to host a football alike object. The shape of the object is
given by the following equation

X^2+Y^2+(1/4*Z^2) = 25

The object will be put into the place from above, and the wall of the pit must have at least
1 meter clearance from the object in all directions.
Use matlab to calculate the volume of the pit, and plot in 3D to show where to dig, and
where the object will be hosted.


Practice on matlab for the following topics
Draw 3D surface plot.
Numerical integration.
Enhance the graph."

Can anyone help me out, I have this so far...

axis vis3d on
shading interp
light('Position',[-3 -1 3]);

Want to reply to this thread?

"3D plot in MATLAB of a sphere inside an open pit." You must log in or register to reply here.

Physics Forums Values

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving