We want to create a 20x20 circulant symmetric matrix. Please help!

1 次查看(过去 30 天)
The whole matrix will consist of 1 and 0. If the nodes are connected its going to be 1, if the nodes are not connected its going to be 0.
For example, the 4x4 matrix version looks like this : row1:(0 1 0 0) row2:(1 0 1 0) row3:(0 1 0 1) row4:(0 0 1 0) We would like to generate the 20x20 of this please!!

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by