I have a 3D matrix data V(201,101,101). I want to calculate the isosurface volume for a particular isovalue.
How to calculate the volume.
I used following code to generate isosurface.
figure;p = patch(isosurface(x,y,z,V,-2));isonormals(x,y,z,V,p);cdata = smooth3(rand(size(V)),'box',7);isocolors(x,y,z,cdata,p)p.Facecolor = 'interp';p.Edgecolor = 'none';
Best Answer