how can i resolve this error???

1 view (last 30 days)
yogya
yogya on 27 Oct 2014
Edited: Stalin Samuel on 27 Oct 2014
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.

Answers (1)

Stalin Samuel
Stalin Samuel on 27 Oct 2014
Edited: Stalin Samuel on 27 Oct 2014
u can use bitshift.If so you need to set ASSUMEDTYPE refer http://www.mathworks.in/help/matlab/ref/bitshift.html#btig8kn-1

Categories

Find more on MATLAB Report Generator in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!