ns2p(1)

NAME
ns2p - path from a node sequence

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

PARAMETERS

ns  : row vector of node numbers

g   : graph list, optional argument with default value the_g

p   : row vector of arc numbers, path

DESCRIPTION
ns2p returns the path p corresponding to the node sequence ns if it exists.

SEE ALSO
anpath, anshp, lshp, p2ns