%% Different Results for Different Integer Types
% Find the shift for a number using different assumed integer types.

uintout = bitshift(6,5:7,'uint8')

%

intout = bitshift(6,5:7,'int8')

% Copyright 2012 The MathWorks, Inc.