0
$\begingroup$

enter image description hereI wanna ask how to insert these matrices in Mathematica when the dimension is (2N+6) by (2N+6). I think we can insert it if we can rewrite it as a block matrix where the entries are 2 by 2 matrices and then use "ArrayFlatten".

Thanks.

$\endgroup$
1
$\begingroup$

One possibility:

data = Array[a, {3, 2, 2}];
n = 6;
helper = Join[data, ConstantArray[0, n]];
A = ArrayFlatten[
   RotateRight[helper, #] & /@ Range[0, n]
   ]

You merely have to replace the matrix data by $V_{m,1}$ etc.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.