How can I start the cumulative from a specific year?
3 ビュー (過去 30 日間)
古いコメントを表示
Hello everyone,
I would need that my cumulative sum to start from 2015 instead of 1998; how can I do it?
load('DATI_ECM_GIORNALIERI')
C1 = cumsum(DATIECMWFgiornalieri{:, 4})
Thank you!
0 件のコメント
採用された回答
Voss
2021 年 12 月 4 日
load('DATI_ECM_GIORNALIERI')
idx = find(DATIECMWFgiornalieri{:,1} == 2015,1);
C1 = cumsum(DATIECMWFgiornalieri{idx:end, 4});
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!