matlab scripts for analysis of  dynamics networks