how to draw Bipartite Matrices and Projection Matrices.
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
HASAN JAHANIFAR
le 11 Juil 2022
Commenté : HASAN JAHANIFAR
le 11 Juil 2022
Hi
could you please let me know how can I draw the graphs like attached file?
0 commentaires
Réponse acceptée
Karim
le 11 Juil 2022
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)
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Graph and Network Algorithms dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!