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
36257 Solvers
-
Back to basics 23 - Triangular matrix
1120 Solvers
-
Matlab Basics II - Count rows in a matrix
405 Solvers
-
Sum the squares of numbers from 1 to n
259 Solvers
-
228 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!