Shift vector function in MATLAB
Matlab does not accept lesser than $1$ indices. Other languages often accept a $0$-based index. More about Shifting Sequences Using MATLAB is available, including function circshift.m.