how can i make surface in to solid (volume) ?
Show older comments
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
on 29 Jan 2014
1 vote
1 Comment
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.
Walter Roberson
on 29 Jan 2014
0 votes
5 Comments
swamybabu
on 29 Jan 2014
Walter Roberson
on 29 Jan 2014
Both of the examples I indicated can be used for your purposes.
You have your Z matrix; at what level do you want the bottom of the rectangular block to be? Do you want the bottom to be at 0? Do you want it to be at min(Z) [in which case one of the points would be directly at the bottom) ?
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.
Chandra Sai Kamal Nadendla
on 19 Jun 2022
hi, I am also having facing the same problem, could you please help me out with
Walter Roberson
on 19 Jun 2022
Can we assume that the base area is strictly rectangular? For example surf() can be used with x y coordinates such that it draws an oval (for example), and constructing a nice base for that is a bit messy
Categories
Find more on Surface and Mesh Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!