Keep tracelines.
tl=keep(tl,1:10)
tl=tl.keep(1:10)
KEEP returns an IMAT_TL object containing the tracelines specified in ID.
If ID is numeric, KEEP keeps the tracelines in ID that exist in TL in the order specified in ID. KEEP will issue a warning if there are tracelines in ID that do not exist in TL.
If ID is logical, the tracelines matching the ID mask will be kept.
>> 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.keep(1:2);
>> tl=keep(tl,tl.id==1);