function w=shiftr(v,n) %SHIFTR W=SHIFTR(V,N) performs the N steps right-shift function % on matrix V, by rows. siz=size(v); w=zeros(siz); if n