imat_tl/remove


Purpose

Remove tracelines.

Syntax

tl=remove(tl,1:10)
tl=tl.remove(1:10)

Description

REMOVE removes tracelines from the IMAT_TL object TL. If ID is numeric, it contains the traceline ID(s) to remove. If it is logical, it contains the indices into TL of the traceline(s) to remove.

Examples

>> fem=readunv('fem_file.unv')

fem =

IMAT_FEM Finite Element Model
         1 coordinate system
        30 nodes
        10 elements
         3 tracelines

>> tl=fem.tl;
>> tl=tl.remove(1:2);
>> tl=remove(tl,tl.id==1);

 

See Also

imat_tl/add, imat_tl/keep