how can i make surface in to solid (volume) ?
显示 更早的评论
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..
回答(2 个)
Kelly Kearney
2014-1-29
1 个投票
1 个评论
crisdeodates
2020-7-9
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
2014-1-29
0 个投票
5 个评论
swamybabu
2014-1-29
Walter Roberson
2014-1-29
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
2020-7-9
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
2022-6-19
hi, I am also having facing the same problem, could you please help me out with
Walter Roberson
2022-6-19
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
类别
在 帮助中心 和 File Exchange 中查找有关 Surface and Mesh Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!