shifted triangular matrix array
1 回表示 (過去 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!