how to draw Bipartite Matrices and Projection Matrices.

조회 수: 4(최근 30일)
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개)

Community Treasure Hunt

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

Start Hunting!

Translated by