imat_ctrace/node


Purpose

Return node numbers of all coordinates.

Syntax

x=node(t)

Description

The NODE function returns an nx1 numeric array of node numbers for all coordinates in the coordinate trace t.

Examples

>> t=imat_ctrace('5y', '6rx', '3z', '4x-')

t =
    '5Y+'
    '6RX+'
    '3Z+'
    '4X-'

>> node(t)

ans =
     5
     6
     3
     4

>>

See Also

imat_ctrace/dir, imat_ctrace/double, imat_ctrace/cellstr, imat_ctrace/char