Matlab vector plus it self
Show older comments
Hello
Can someone help me, I need some help to this function: V=[e1,e2,e3,e4,e5....etc] e1 to etc are the values I will define for this function. As an example: V=[2,6,3,9,0,-10]
The function must return as: V=[e1,e1+e2,e1+e2+e3,e1+e2+e3+e4,e1+e2+e3+e4+e5....etc] As an example: V=[2,8,11,20,20,10]
I will appreciate any kinde of help
Accepted Answer
More Answers (0)
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!