
Here A square matrix and first figure(AU) shows undirected connection graph and second one shows directed one.Assume that only i have Au metrix and how can i create Ad metrix from Au matrix in matlab?

Here A square matrix and first figure(AU) shows undirected connection graph and second one shows directed one.Assume that only i have Au metrix and how can i create Ad metrix from Au matrix in matlab?
Copyright © 2021 JogjaFile Inc.
If you have the possibility to change the direction of your vectors, take the upper triangular minus the lower triangular:
And if you do not want the
-1elements, addThis will direct all your vectors from the smaller to the greater number: 1->2, 2->3, etc ...