how can i resolve this error???
显示 更早的评论
if my e value is e = 0101000100001110010100100111111110101101111001101000010000000000 and
if i m going to rotate it right by 14 bits then r1 = bitror(e,14);
now this is showing an error as
??? Undefined function or method 'bitror' for input arguments of type 'char'.
Error in ==> round at 48 r1 = bitror(e,14);
can someone help me to resolve this error.
回答(1 个)
Stalin Samuel
2014-10-27
编辑:Stalin Samuel
2014-10-27
0 个投票
u can use bitshift.If so you need to set ASSUMEDTYPE refer http://www.mathworks.in/help/matlab/ref/bitshift.html#btig8kn-1
类别
在 帮助中心 和 File Exchange 中查找有关 Language Fundamentals 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!