Clear Filters
Clear Filters

How xor the integer with binary value?

2 views (last 30 days)
PLACEIUS NISHIGA G
PLACEIUS NISHIGA G on 8 Jan 2018
Commented: Jan on 8 Jan 2018
if true
k=rand(192,1);
Q=32142;
q=dec2bin(Q);
K=bitxor(k,q);
end
  2 Comments
Birdman
Birdman on 8 Jan 2018
Why would you want that?
Jan
Jan on 8 Jan 2018
What is the wanted result for e.g. k=0.12345 and Q=32142? Why do you convert Q to a binary string?

Sign in to comment.

Answers (0)

Categories

Find more on Encryption / Cryptography 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!