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 Answer 1

2
$\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 and acknowledge that you have read and understand our privacy policy and code of conduct.

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