How to let more than one matrix to compose as one matrix
For example
c = {{a, b}, {a, b}};
a = {{1, 0}, {0, 1}};
b = {{1, 1}, {1, 1}};
How to let more than one matrix to compose as one matrix
For example
c = {{a, b}, {a, b}};
a = {{1, 0}, {0, 1}};
b = {{1, 1}, {1, 1}};
You can use ArrayFlatten:
c = ArrayFlatten[{{a, b}, {a, b}}]
{{1, 0, 1, 1}, {0, 1, 1, 1}, {1, 0, 1, 1}, {0, 1, 1, 1}}
TeXForm @ MatrixForm @ c
$\left( \begin{array}{cccc} 1 & 0 & 1 & 1 \\ 0 & 1 & 1 & 1 \\ 1 & 0 & 1 & 1 \\ 0 & 1 & 1 & 1 \\ \end{array} \right)$
TeXFormwas a thing. That's going to be so handy! – MassDefect Jan 24 '19 at 08:12