Shift Vector

Shifts a row or column vector by an input number of elements

You are now following this Submission

B = shiftVector(A,shiftsize) will shift the vector A left/up (if shiftsize is positive) or right/down (if shiftsize is negative) by shiftsize steps, and move the elements that are cut off back to the opposite end.

Cite As

Sebastian (2026). Shift Vector (https://www.mathworks.com/matlabcentral/fileexchange/42033-shift-vector), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Interactions, Camera Views, and Lighting in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0