connex(1)

NAME
connex - connected components

CALLING SEQUENCE
[nc,ncomp] = connex([g])

PARAMETERS

g   : graph list, optional argument with default value the_g

nc  : integer, number of connected components

ncomp
    : row vector of connected components

DESCRIPTION
connex returns the number nc of connected components for the graph g and a row vector ncomp giving the number of the connected component for each node.

SEE ALSO
concomp, isconnex