File Exchange

image thumbnail

Shift Vector

version 1.0 (1.48 KB) by

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



View License

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.

Comments and Ratings (1)


Song (view profile)

Isn't that just doing what the built-in circshift does?

MATLAB Release
MATLAB 7.9 (R2009b)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video