Suppose we have a matrix A,
A=[ a 0 0 b 0 c d 0 0 e f 0 g 0 0 h ]
I would like to have an efficient and general way to add some