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

    %% Shift Left Using a fi Shift Value  
% Shift left a built-in |int8| input using a |fi| shift value.   

% Copyright 2015 The MathWorks, Inc.


%%  
k = fi(2);
a = int8(16);
bitsll(a,k)