diff(A, [], 1)
will calculate the second row minus the first row, then the third row minus the second row, then the 4th row minus the third, and so on.
Results that are positive indicate more precipitation compared to the previous day, negative is less precipitation than the previous day.