Generating a 3D volume from measured datapoints

Hi,
I would like to generate a plot that should look like this:
ellipsoid(2,2,3,2,2,3)
but which is constructed from a set of matrices that contain values which can be classified by a threshold to be in- or outside the volume.
For example the data in this sample would look like this:
plane1=zeros(4,4)
plane2=zeros(4,4)
...
for all 6 planes in z-direction The matrix plane 3 in this example would therefor be the x-y representation of the central plane of the 3D cube. I now would like to apply a threshold, let say 3 and have every point with a larger value inside the volume and generate a volume plot from this. I am stuck since I do not know how to start this and appreciate every hint/help or comment. Thanks a lot, Philipp

1 commentaire

http://www.mathworks.com/help/techdoc/ref/isosurface.html ?

Connectez-vous pour commenter.

Réponses (1)

Mr. Pavl M.
Mr. Pavl M. le 30 Jan 2012
Modifié(e) : Mr. Pavl M. le 7 Nov 2024

0 votes

There is an interesting solutions using triangulation :
or with recent advances in pde toolbox to treat it as polyhedra drawing.

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by