error code on cumsum
显示 更早的评论
I am attempting to run: A = 1 - cumsum(C)/sum(C); where C is a long column vector. I receive error "??? Error using ==> cumsum CUMSUM is not supported for integer input." What does it mean?
2 个评论
per isakson
2014-2-23
编辑:per isakson
2014-2-23
The code looks ok. Make this check
which cumsum -all
what does it say? And what does
class( C )
say? And which Matlab release do you use?
Ralph
2014-2-23
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!