How to assign a vector on sub-digagonals of a N*N matrix in MATLAB?

1 回表示 (過去 30 日間)
hamed
hamed 2020 年 11 月 6 日
回答済み: Matt J 2020 年 11 月 6 日
I have a vector with a specific length "n". I want to put a vector on the sub-diagonals of a N * N (N> n) matrix repeatedly. Something like what I have plotted in the attached figure. Any suggestion?
Thanks
  1 件のコメント
Rik
Rik 2020 年 11 月 6 日
Can you give an example in Matlab syntax?

サインインしてコメントする。

回答 (1 件)

Matt J
Matt J 2020 年 11 月 6 日

カテゴリ

Help Center および File ExchangeCreating and Concatenating Matrices についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by