Plotting a cone inside of a cylinder

6 views (last 30 days)
Ahmed Abdelazim
Ahmed Abdelazim on 28 Apr 2015
Answered: Chad Greene on 28 Apr 2015
How can I Plot the portion of the cone z = 9 − sqrt(x^2 + y^2) inside the cylinder r = 2?

Answers (1)

Chad Greene
Chad Greene on 28 Apr 2015
You can use the cylinder function to calculate both cylinder and cone. Then use surf.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!