My getting error "Error using bitsrl (line 51) Function bitsrl is not defined for inputs of data type double."

3 次查看(过去 30 天)
A= [0 1 -1 0 -1 1 -1 0];
B= [0 1 0 1 -1 0 -1 1];
[row col]=size(A);
i=0;
Y=0;
n=1:8;
for i=1:row for j=1:col if (A(i,j)==1) Y=Y+B C1=bitsrl(Y,1); j=j+1; end end end I want to shift bits to right side whenever A(i,j)=1. for further plz refer to the flowchart. Thank u!!!

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Propagation and Channel Models 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by