MATLAB Answers

how can i make surface in to solid (volume) ?

33 views (last 30 days)
swamybabu
swamybabu on 29 Jan 2014
Commented: crisdeodates on 9 Jul 2020
Hi.. I have a height data of the surface of a sample. i can plot the height data into a surface using "surf()" Matlab code. Now i want to create a solid body with that surface. plz help me with this..

Answers (2)

Kelly Kearney
Kelly Kearney on 29 Jan 2014
Like this: surf2solid?
  1 Comment
crisdeodates
crisdeodates on 9 Jul 2020
Hi, do you happen to have an example using this custom function? I have my X, Y and Z matrices with which I am generating my surface.

Sign in to comment.


Walter Roberson
Walter Roberson on 29 Jan 2014
See the examples in trisurf() and tetramesh()
Both of them return patch handles.
For example if you used trisurf() you could extend the patch by adding on a rectangular base by adjusting the patch() properties.
  3 Comments
crisdeodates
crisdeodates on 9 Jul 2020
Hi, do you happen to have an example using this custom function? I have my X, Y and Z matrices with which I am generating my surface. Also I know at what height lowest point of my surface should be above from the base of the solid.

Sign in to comment.

Tags

Community Treasure Hunt

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

Start Hunting!