Hey I would like to do something like the following
A = [...
1 2 3
4 5 6
7 8 9]
to
B = [...
1 2 3
1 2 3
1 2 3
4 5 6
4 5 6
4 5 6
7 8 9
7 8 9
7 8 9]
But please do not advice manual things. I am writing an algorithm with inputs and matrix dimensions may change.