I would like to draw a circular graph of nodes where certain nodes have a link between them. Here are a few examples from social network graphs:

(source: wrightresult.com)


(source: twit88.com)
How can this be done with MATLAB? Is it possible without installing a separate package?
Here is one way you can do what you want. First, generate points on the circle that you are interested in
Next, if you know the pairs of nodes that are connected, you can skip this step. But in many cases, you get a connectivity matrix from other computations, and you find the indices of the connected nodes from that. Here, I’ve created a Boolean matrix of connections. So, if there are
Nnodes, the connectivity matrix is anNxNsymmetric matrix, where if thei,jth element is1, it means you have a connection from nodeito nodejand0otherwise. You can then extract the subscripts of the non-zero pairs to get node connections (only the upper triangle is needed).This is the connectivity matrix I generated with the code above.
Now we just need to plot the connections, one at a time
which will give you a figure similar to your examples