From: Luigi Giaccari on 16 Mar 2010 12:53 "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
|
Pages: 1 Prev: Problem installing Maple toolbox for MATLAB Next: FFT-based correlation |