Remove elements.
elem=remove(elem,1:10)
elem=elem.remove(1:10)
REMOVE removes elements from the IMAT_ELEM object ELEM. If ID is numeric, it contains the element ID(s) to remove. If it is logical, it contains the indices into ELEM of the element(s) to remove.
>> fem=readunv('fem_file.unv')
fem =
IMAT_FEM Finite Element Model
1 coordinate system
30 nodes
10 elements
3 tracelines
>> elem=fem.elem;
>> elem=elem.remove(1:2);
>> elem=remove(elem,elem.id==1);