Why do i get rid of this error using cumsum saying 'dimension argument must be positive integer scalar within indexing range?
2 次查看(过去 30 天)
显示 更早的评论
I am trying to get the cumulative return of four trading strategies using cum sum and it is giving me the error in the screen shot, how do i get rid of it?
Thanks
1 个评论
采纳的回答
Andrei Bobrov
2017-10-26
编辑:Andrei Bobrov
2017-10-26
May be so?
cumu_ret_is= cumsum([d_pretbm_is,d_pretl_is,d_pret2_is,d_pret3_is])
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!