Adjacency matrix matlab output