Recurring Sequences of Numbers
8 views (last 30 days)
Show older comments
Is there a way to declare v as a vector of numbers without a stopping point [0 -1 0 1 0 -1 0 1 ... n]? And from that I want to be able to use the number a to get all the entries of vector v. For example: a = 4 v = [0 -1 0 1]
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Elementary Math 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!