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

1 次查看(过去 30 天)
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

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Operating on Diagonal Matrices 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by