www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/DifferentResultsforDifferentIntegerTypesExample.m

    %% 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')