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

2 ビュー (過去 30 日間)
Ezgi
Ezgi 2013 年 12 月 13 日
編集済み: John D'Errico 2013 年 12 月 13 日
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
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 件)

カテゴリ

Help Center および File ExchangeSimulink についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by