how to draw Bipartite Matrices and Projection Matrices.
2 次查看(过去 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!