p2ns(1)

NAME
p2ns - node sequence of a path

CALLING SEQUENCE
[ns]=p2ns(p,[g])

PARAMETERS

p   : row vector of arc numbers

g   : graph list, optional argument with default value the_g

ns  : row vector of node numbers

DESCRIPTION
p2ns returns the node sequence ns corresponding to the arc sequence p if this arc sequence forms a path.

SEE ALSO
ns2p