Code covered by the BSD License
Sebastian (view profile)
31 May 2013
Shifts a row or column vector by an input number of elements
Watch this File
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.
Isn't that just doing what the built-in circshift does?