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

    %% Shift Left a Built-in int8 Input  
% Use |bitsll| to shift an |int8| input left by 2 bits.   

% Copyright 2015 The MathWorks, Inc.


%%  
a = int8(4);
bitsll(a,2)