Multiply matrix columns by values
| astrotool | June 26, 2008 - 13:04 | ||||||
|---|---|---|---|---|---|---|---|
|
I have a matrix where the units are dN/dlog(dp), and the columns represent sizes, and the rows represent times so far I have been trying this: dN[p][0]=dN[p][0]*dlogdp[0] but this method does not work, and usually only changes the first value in the matrix column
|
|||||||

Joined: 2007-06-29
Location: United States
Is this what you want?
dN *= dlogdp[q]
Joined: 2008-05-12
Location: United States
yes, exactly that! Thank you.