Plotting a cone inside of a cylinder

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.

Asked:

on 28 Apr 2015

Answered:

on 28 Apr 2015

Community Treasure Hunt

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

Start Hunting!