I'm trying to figure out how to take a small matrix (Matrix B below) and add the values into a larger matrix (Matrix A below) at a certain index. It seems like numpy would be a good option for this scenario but I can't figure out how to do it.
Matrix A:
[[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, 0, 0, 0, 0]]
Matrix B:
[[2, 3, 4]
[5, 6, 7]
[8, 9, 3]]
Desired end result:
[[0, 0, 0, 0, 0, 0]
[0, 0, 2, 3, 4, 0]
[0, 0, 5, 6, 7, 0]
[0, 0, 8, 9, 3, 0]
[0, 0, 0, 0, 0, 0]]