# MATLAB: I need a help about volume calculation.An illustration is,suppose 2 planes are cutting a cube arbitrarily, and the information which i get is the equation of lines or the coordinates marking the boundary of the enclosed surface.How can i compute vol

volume computation of an arbitrary 3-d object(no curves only planer type)

for example, suppose 2 planes are cutting a cube.Known quantities are the equation of the cube surfaces and equation of the lines generated when the plane cuts the cube surfaces and the limiting coordinates of the enclosed area.How can i compute the volume?

• You can compute the volume using CONVHULLN if you know the vertices of the region.
You can get the vertices of the region using LCON2VERT ( Download ).