Home > marsbar > @maroi_sphere > volume.m

volume

PURPOSE ^

volume method - returns volume of ROI in mm

SYNOPSIS ^

function v = volume(obj)

DESCRIPTION ^

 volume method - returns volume of ROI in mm

 $Id$

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function v = volume(obj)
0002 % volume method - returns volume of ROI in mm
0003 %
0004 % $Id$
0005 
0006 v = (4/3*pi)*obj.radius^3;

Generated on Thu 17-Mar-2016 01:14:46 by m2html © 2005