Multiply matrix columns by values

I have a matrix where the units are dN/dlog(dp), and the columns represent sizes, and the rows represent times
I want to get just dN, so I made a copy of the matrix and called it dN, then made a wave that has the dlog(dp) values in it
I want to multiply each column of the matrix by their corresponding dlog(dp) values


so far I have been trying this:

dN[p][0]=dN[p][0]*dlogdp[0]
.
.
.
dN[p][49]=dN[p][49]*dlogdp[49]


but this method does not work, and usually only changes the first value in the matrix column
Is there any way to get this to work?
20080626-SMPScorrections.pxp