Add a constant offset to an array.
Example
a = [1 3 5 9] offset = 2 y = [3 5 7 11]
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers133
Suggested Problems
-
Return the 3n+1 sequence for n
8489 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
13644 Solvers
-
552 Solvers
-
777 Solvers
-
7124 Solvers
More from this Author8
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!