I have an array like this:
[[1 2 3 4]
[9 8 7 6]]
and want to upscale like this:
[[1 0 0 2 0 0 3 0 0 4 0 0]
[0 0 0 0 0 0 0 0 0 0 0 0]
[0 0 0 0 0 0 0 0 0 0 0 0]
[9 0 0 8 0 0 7 0 0 6 0 0]
[0 0 0 0 0 0 0 0 0 0 0 0]
[0 0 0 0 0 0 0 0 0 0 0 0]]
Try with numpt.pad, numpy.insert and numpy.kron but cant access the answer.