From: Anden n on
Hi,

Does anyone know how to calculate the borders? For instance if I use the example from meshgrid from the matlab helpfile:
[x,y]=meshgrid(1:15,1:15);
tri = delaunay(x,y);
z = peaks(15);
trisurf(tri,x,y,z)
Now I want to calculate the border from different selected slices in the 3d volume. In other words I want to look at this figure and get a 2d slicefrom a specific angle. For instance if I simulate a sphere and I slice it in the middle I would get a circle. Is this possible in matlab.?

BR andreas