%% Number of Graph Edges
% Use the bucky adjacency matrix to create a directed graph, and then determine how many edges the graph contains.

G = digraph(bucky)

%

N = numedges(G)

% Copyright 2015 The MathWorks, Inc.