I want to create a toeplitz matrix of toeplitz matrix.
H1, H2 and H3 are toeplitz matrices already. My result should look like that:
H1 0 0
H2 H1 0
H3 H2 H1
0 H3 H2
0 0 H3
The existing toeplitz-function only accepts vector, so I can't use it for matrix. Currently I'm using vstack
to create the first column, then second column etc. and then I use hstack
to merge all columns. This takes a lot of effort, since I have to specifically add np.zeros
matrices at certain places. I can't think of a better way to concatenate numpy arrays, since there are only a few functions for that and none of them really fits my problem.