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

4 visualizzazioni (ultimi 30 giorni)
swamybabu
swamybabu il 29 Gen 2014
Commentato: Walter Roberson il 19 Giu 2022
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..

Risposte (2)

Kelly Kearney
Kelly Kearney il 29 Gen 2014
Like this: surf2solid?
  1 Commento
crisdeodates
crisdeodates il 9 Lug 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.

Accedi per commentare.


Walter Roberson
Walter Roberson il 29 Gen 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.
  5 Commenti
Chandra Sai Kamal Nadendla
hi, I am also having facing the same problem, could you please help me out with
Walter Roberson
Walter Roberson il 19 Giu 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

Accedi per commentare.

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by