Code covered by the BSD License  

Highlights from
Shift Vector

Be the first to rate this file! 4 Downloads (last 30 days) File Size: 1.48 KB File ID: #42033 Version: 1.0
image thumbnail

Shift Vector



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

| Watch this File

File Information

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.

Required Products MATLAB
MATLAB release MATLAB 7.9 (R2009b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
31 May 2013 Song

Song (view profile)

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

Comment only

Contact us