shifted triangular matrix array
조회 수: 2 (최근 30일)
이전 댓글 표시
채택된 답변
Matt J
2019년 12월 6일
편집: Matt J
2019년 12월 6일
ac=num2cell([0,0;a],2);
T=toeplitz(1:4,[1,zeros(1,3)]);
A=cell2mat(ac(T+1))
A =
1 2 0 0 0 0 0 0
3 4 1 2 0 0 0 0
5 6 3 4 1 2 0 0
7 8 5 6 3 4 1 2
댓글 수: 3
Image Analyst
2019년 12월 6일
Jesus, can you "Accept this answer" to give Matt credit for it? Thanks in advance.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Matrices and Arrays에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!