No BSD License
function nDesc = findNdesc(parents,children,i) nChild=numel(children{i}); nDesc = nChild; for j=1:nChild nDesc = nDesc + findNdesc(parents,children,children{i}(j)) ; end return
Contact us at files@mathworks.com