how do i print this matrix?
古いコメントを表示
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?

採用された回答
その他の回答 (1 件)
M = repelem([1,1;1,0;0,1],[1,2,3],[3,2])
カテゴリ
ヘルプ センター および File Exchange で Shifting and Sorting Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!