Introduction - If you have any usage issues, please Google them yourself
THis function make and plot a random network with N nodes
input
N: number of nodes
r: radius of adjacency
s = [s1 s2] is the coordinates of the rectangular
in which the nodes are spread
output
adj_mat: adjacency matrix
Lap_mat: Laplacian matrix
npos: Location of the nodes