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
-
Swap the first and last columns
22936 Solvers
-
8140 Solvers
-
555 Solvers
-
Flip the vector from right to left
11120 Solvers
-
Sum positive elements of matrix.
130 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!