how to full square matrix first column as second column and so on

1 Ansicht (letzte 30 Tage)
singh
singh am 27 Mai 2015
first column of full square matrix as second column and second column as third column
DG2 =
7.2263 36.234 41.867 36.555
0 43.326 49.059 36.53
0 0 6.9689 58.871
0 0 0 61.001
i need this because
h = view(biograph(DG2,[],'ShowWeights','on'))
Warning: Self connecting nodes are not allowed, ignoring the diagonal of CM.
> In biograph.biograph at 158
pls help me

Antworten (0)

Kategorien

Mehr zu Operating on Diagonal Matrices finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by