%% Shift Characters in Array
% Create an array of characters and use circshift to shift the characters by 3 positions. The characters are in a different order in Y.

A = 'racecar';  
Y = circshift(A,3)

% Copyright 2012 The MathWorks, Inc.