フィルターのクリア

formulation of square matrix

2 ビュー (過去 30 日間)
jie hu
jie hu 2019 年 5 月 23 日
コメント済み: jie hu 2019 年 5 月 23 日
Hello everyone,
I want to formulate a very big square matrix, in which every element is again a square matrix. I want the sqaure matrix element being as an element to fill up the big one. Any idea for formulating this big matrix, please?
Thanks very much for your kind help.
jie
  1 件のコメント
madhan ravi
madhan ravi 2019 年 5 月 23 日
Illustration needed.

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

採用された回答

KSSV
KSSV 2019 年 5 月 23 日
A = magic(3) ;
B = cell(5,5) ;
B(:) = {A} ;
B = cell2mat(B)
  2 件のコメント
jie hu
jie hu 2019 年 5 月 23 日
Hi, my matrix size is large, i need to use loop to conduct this formulation. So how can I put each element A into a bracket and assign {A} to B(i,j), please?
jie hu
jie hu 2019 年 5 月 23 日
hi, may i have a follow up question about the command "cell2mat":
if i have that A = {B}, and B={C}. how can i finally expresse A into a matrix ?

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

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by