imat_cs/remove


Purpose

Remove coordinate systems.

Syntax

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

Description

REMOVE removes coordinate systems from the IMAT_CS object CS. If ID is numeric, it contains the coordinate system ID(s) to remove. If it is logical, it contains the indices into CS of the coordinate system(s) to remove.

Examples

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

fem =

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

>> cs=fem.cs;
>> cs=cs.remove(1);
>> cs=remove(cs,cs.id==1);

 

See Also

imat_cs/add, imat_cs/keep