How do you make this matrix?
조회 수: 4 (최근 30일)
이전 댓글 표시
In the picture above, I have been tasked to recreate matrix e using any viable functions. However, I have been wrestling with it for hours so I would appreciate some assistance. This is my first programming class ever so I am struggling a lot doing this kind of stuff. Thanks for the help.
댓글 수: 0
채택된 답변
Walter Roberson
2016년 3월 3일
kron(ones(3,3),kron(eye(2),ones(2,2)))
Note: kron is a somewhat advanced function to use for this. You should probably think about repmat()
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Matrix Indexing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!