Remove Delaunay triangles

I would like to delete specific triangles from the list of triangles returned by DelaunayTri. I thought I could do this by imposing a boundary edge in my call to DelaunayTri, then using inOutStatus to find the list of indices of triangles outside the boundary. That seems to work, but then I can't delete them. For example, if I type the following to try to delete the first triangle:
dT(1,:)=[];
I get an error message:
??? Error using ==> subsasgn
Invalid arguments in indexing operation.
Any help would be appreciated.

Categories

Asked:

on 7 Mar 2011

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!