can i obtain this vector ?
Show older comments
can anyone help me to obtain this vector: v=[1 2 5 6 9 10]; i want to know, if we can obtain a relation beteween the vector's elements ?
Accepted Answer
More Answers (1)
Jan
on 20 Oct 2017
V = cumsum([3, 1, 3, 1, 3, 1]) - 2
Categories
Find more on Logical 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!