Simulation-of-multiagent This a student work : ) By Matlab. The file net.m is the main program. Laplacian_matrix.d is a function to compute the value of Laplacian matrix. row_matrix.m is a function to create a random matrix whose sum of row is 1.