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

    %% Shift Right a Floating-Point Input  
% Scale a floating-point |double| input by $2^{-3}$.   

% Copyright 2015 The MathWorks, Inc.


%%  
a = double(128);
bitsra(a,3)