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!!
1 个评论
John D'Errico
2013-12-13
编辑:John D'Errico
2013-12-13
There are tools on the FEX to generate circulant matrices. Why not look there?
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!