Surfaces of revolution around x-axis 1d function

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)

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

Asked:

on 8 Oct 2014

Answered:

on 9 Oct 2014

Community Treasure Hunt

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

Start Hunting!