From: Luigi Giaccari on
"David Edson" <tojadeb(a)example.com> wrote in message <hkp2qk$ln8$1(a)fred.mathworks.com>...
> Dears,
>
> I have a geometry defiend by a set of its x,y,z coordinates. I would like to calculate its volume. Is there a trick to use?
>
>
> DE


In the case you cloud is convex use convhulln, in the case is concave use one this to build the surface:

http://www.mathworks.com/matlabcentral/newsreader/create_message?reply_id=711429

http://www.advancedmcode.org/how-to-plot-a-coloured-surface-from-3d-scatter.html

http://www.advancedmcode.org/surface-recostruction-from-scattered-points-cloud-mycrustopen.html

http://www.advancedmcode.org/surface-recostruction-from-scattered-points-cloud-mycrust-robust.html

Then use this to get the volume

http://www.advancedmcode.org/volume-enclosed-by-a-triangulated-surface.html