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
-
Select every other element of a vector
36334 Solvers
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15783 Solvers
-
Return a list sorted by number of occurrences
2890 Solvers
-
326 Solvers
-
Find remainder when x is divided by 3
167 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!