To give specific advice for MATLAB:
I would download the section image from the web page you linked and display it in the MATLAB shape window. Then you can try to draw lines on top until you find one that works well. So you can do something like:
A = imread('~/Desktop/1314019872-1244-n364-1000x707.jpg'); imshow(A) hold on axis on %

Of course, you may need to move the position of the source or crop the image, etc.
As the best alternative to this trial and error method is possible, you can trace the section outline (for example, by clicking points with something like ginput ), and then use one of the MATLAB tools curve fitting (for example, fit ) to match the data function.
The last three-dimensional shape looks to me (in a casual look) a 3D inversion of the section shape around the central axis. Therefore, using > a cylindrical coordinate system might be a good idea.
The final construction of your 3D shape can be done using the surf or mesh function.
source share