Hi community
How can I revolutionize a 2D matrix around an axis to obtain a solid?
Supose a NxN matrix. In each row are the points of a kind of gaussian curve with less amplitude and higher width. Plotting this surface shows something like a half bell that decays to zero. (See Bottom)
I want to obtain a 3D image revolutionazing that matrix, so the solid looks like a complete bell, or a mexican hat.
Notice that each curve in the matrix rows are different.
I have already try with cylinder(), but i can't define the rotation axis, and the result is a segmented solid.
Possible solutions so I can get the 3D image and define the rotation axis?
Thanks a lot
The surface to revolutioniye looks like this:
Cylinder shows this:
2 Comments
Direct link to this comment
https://ch.mathworks.com/matlabcentral/answers/491666-2d-matrix-revolution#comment_768444
Direct link to this comment
https://ch.mathworks.com/matlabcentral/answers/491666-2d-matrix-revolution#comment_768444
Direct link to this comment
https://ch.mathworks.com/matlabcentral/answers/491666-2d-matrix-revolution#comment_768447
Direct link to this comment
https://ch.mathworks.com/matlabcentral/answers/491666-2d-matrix-revolution#comment_768447
Sign in to comment.