Generating a 3D volume from measured datapoints

2 views (last 30 days)
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

Answers (1)

Pavl M.
Pavl M. on 30 Jan 2012
Edited: Pavl M. on 7 Nov 2024
There is an interesting solutions using triangulation :
or with recent advances in pde toolbox to treat it as polyhedra drawing.

Categories

Find more on Bounding Regions in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!