cumsum but withe the twelfth observation
Info
This question is closed. Reopen it to edit or answer.
Show older comments
I am using monthly data in twelfth difference (annuel variation) and for the final results I want to come back the level. I know that for the first différence we can use the cumsum function: cumsum(X(i,:,:),2)
How can I do the same think to cumulate the twelfth difference. Thanks
Answers (1)
Julius
on 10 Jun 2013
0 votes
Just do cumsum repeatedly for 12 times.
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!