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에서 MATLAB Compiler에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!