I have a binary number
% code
a = uint8(88) , b = dec2bin(a) --> b = 1011000I would like to just get consecutive 11 without using bitshift(a,-3,2).As in 2014a it gives following warning: Warning: BITSHIFT(A,K,N) will not accept integer valued input N in a future release. Use BITSHIFT(A,K,ASSUMEDTYPE) instead.
I cannot understand how to use bitshift(A,K,Assumedtype) for this issue.
Any idea how to get away without warning so that I am okay for newer versions.
Thanks for your help. Nirav
Best Answer