how to do sum up elements one by one (sequence addition)
显示 更早的评论
回答(2 个)
halleyhit
2017-1-8
0 个投票
just a hint: [1 3 6 10]'=[1 1 1 1;0 1 1 1; 0 0 1 1; 0 0 0 1]*[1 2 3 4]'
Roger Stafford
2017-1-9
cumsum([1 2 3 4]) equals [1 3 6 10]
类别
在 帮助中心 和 File Exchange 中查找有关 Simulink 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!