필터 지우기
필터 지우기

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 CenterFile Exchange에서 Descriptive Statistics에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by