フィルターのクリア

Algorithmically create block matrices

3 ビュー (過去 30 日間)
David Cyncynates
David Cyncynates 2020 年 12 月 17 日
コメント済み: David Cyncynates 2020 年 12 月 17 日
I want to create a block matrix out of square matrices with the following structure
H = [A B C D;
B A B C;
C B A B;
D C B A]
Cleraly, if I was interested in only a 4x4 block, this would be enough. However, I'm interested in constructing such matrices out of a set of N square matrices A,B,C,D,E ... forming an N by N matrix of square matrices. Suppose I define
Matrices = [A B C D E];
What is the code I need to construct the corresponding 5 by 5 block matrix?

採用された回答

Fangjun Jiang
Fangjun Jiang 2020 年 12 月 17 日
cat()
vertcat()
  1 件のコメント
David Cyncynates
David Cyncynates 2020 年 12 月 17 日
oh i see - cycle through Matrices and then cat. Thanks!

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeModeling についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by