- #1
member 428835
Hi PF!
Let's say I have a 3X3 matrix ##K## and a much larger square matrix, call it ##M##. I am trying to add ##K## into ##M## along the diagonals. It's difficult for me to explain (and hence code) so I've attached a picture. Does anyone know a good way of doing this? Notice overlap is only in the corners.
Let's say I have a 3X3 matrix ##K## and a much larger square matrix, call it ##M##. I am trying to add ##K## into ##M## along the diagonals. It's difficult for me to explain (and hence code) so I've attached a picture. Does anyone know a good way of doing this? Notice overlap is only in the corners.