how to draw Bipartite Matrices and Projection Matrices.
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi
could you please let me know how can I draw the graphs like attached file?

댓글 수: 0
채택된 답변
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)
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Graph and Network Algorithms에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
