I got this to work:
done = []
for M = 1:5
stemp = circshift(A(:,M),-M,1);
done = [done stemp];
end
------------
Originally I didn't have semicolons. Oops.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!