how to draw Bipartite Matrices and Projection Matrices.

2 ビュー (過去 30 日間)
HASAN JAHANIFAR
HASAN JAHANIFAR 2022 年 7 月 11 日
コメント済み: HASAN JAHANIFAR 2022 年 7 月 11 日
Hi
could you please let me know how can I draw the graphs like attached file?

採用された回答

Karim
Karim 2022 年 7 月 11 日
such figures can be generated with the spy command. See below for an attempt to produce the top left figure using a bit of random data
A = zeros(450,450);
B = rand(450,800) < 0.01;
C = zeros(800,800);
M = [A B; B',C];
figure
spy(M)
  1 件のコメント
HASAN JAHANIFAR
HASAN JAHANIFAR 2022 年 7 月 11 日
Thank you. could you please let me know, if I have a bipartite matrice can I draw such figure?

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGraph and Network Algorithms についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by