Surfaces of revolution around x-axis 1d function

2 views (last 30 days)
hello how could i get this figure? i'm taking intro to Matlab so if you could do something only using the very very basics to accomplish this. attachment below.

Answers (1)

Star Strider
Star Strider on 9 Oct 2014
See the documentation for the cylinder and rotate functions. They — and the function — are all you need. (It takes fewer than 10 lines.)

Community Treasure Hunt

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

Start Hunting!