I have absolutely no idea on how to calculate the difference between previous and current value of a tall array column.
What I try to do: I have a tall array column with a timestamp. Now to make different calculations I want also a tall array column with the delta timestamp (current timestamp - previous timestamp).
As it is not possible to do this in a loop, I have no idea on how to do this.
Can somebody assist me please? Thanks
CodePudding user response:
You can just use diff
Assuming you're using the word "tall" in its technical sense (i.e. tall arrays) then diff
is in the function list for compatable out-of-memory functions for use with tall
data.