18 May 2010
This MATLAB code requires that your adjacency matrix (or matrix that shows the connections between people) is sparse. To create a sparse matrix in MATLAB, take your matrix (suppose it's called "A"), type "sparse(A)". This code also requires that you download the package from this website.
Typing "help" and then the name of each program below gives specific instructions on the inputs and outputs of each program. We also show these here:
Each of the programs below gives xy coordinates as one of the outputs; these can be put into the following program to produce the graphs that are featured in our Nonlinear Science Gallery poster and paper: graphplot2D.m