imat_ctrace/abs


Purpose

Absolute value of coordinate trace.

Syntax

u=abs(t)

Description

Taking the absolute value of a coordinate trace changes all coordinates with negative directions to their positive counterparts.

Examples

>> t=imat_ctrace('101x-', '55z', '75y-')

t =

    '101X-'
    '55Z+'
    '75Y-'

>> abs(t)

ans =

    '101X+'
    '55Z+'
    '75Y+'

See Also

imat_ctrace/sign, imat_ctrace/uminus