How to create a 2D array of weighted+shifted unit impulses?
I’m looking for an efficient way to get a 2D array like this: array([[ 2., -0., -0., 0., -0., -0., 0., 0., -0., 0.], [ 0., -1., -0., 0., -0., -0., 0., 0., -0., 0.], [ 0., -0., -5., 0., -0., -0., 0., 0., -0., 0.], [ 0., -0., -0., 2., -0., -0., 0., 0.,… Read More How to create a 2D array of weighted+shifted unit impulses?