# How Do I rotate f(x) around the x-axis in MATlab or Mathematica?

by VinnyCee
Tags: mathematica, matlab, rotate, xaxis
 P: 492 Please help, I want a visualization of the function y = sech(x) revolved around the x-axis from x = -2 to 2, creating a "solid of revolution".
 Sci Advisor HW Helper P: 3,149 Don't they have a plot3D command?
 P: 492 Yes, but how would I use that in conjunction with the rotation? Could you give me an example please?
$$y^2 + z^2 = \frac {1}{\sinh^2 x}$$