how do i print this matrix?
Afficher commentaires plus anciens
hi!
i want to print this matrix..
i think there is a easy pattern in this matrix but i couldn't found..!
Is there a easy way to create this matrix?

Réponse acceptée
Plus de réponses (1)
M = repelem([1,1;1,0;0,1],[1,2,3],[3,2])
Catégories
En savoir plus sur Shifting and Sorting Matrices dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!