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.

Antworten (1)

Stalin Samuel
Stalin Samuel am 27 Okt. 2014
Bearbeitet: Stalin Samuel am 27 Okt. 2014

0 Stimmen

u can use bitshift.If so you need to set ASSUMEDTYPE refer http://www.mathworks.in/help/matlab/ref/bitshift.html#btig8kn-1

Kategorien

Mehr zu Language Fundamentals finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 27 Okt. 2014

Bearbeitet:

am 27 Okt. 2014

Community Treasure Hunt

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

Start Hunting!

Translated by