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 Solvers136
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15805 Solvers
-
Project Euler: Problem 2, Sum of even Fibonacci
2890 Solvers
-
Find out missing number from a vector of 9 elements
322 Solvers
-
Returning a "greater than" vector
276 Solvers
-
484 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!