How xor the integer with binary value?

14 vues (au cours des 30 derniers jours)
PLACEIUS NISHIGA G
PLACEIUS NISHIGA G le 8 Jan 2018
Commenté : Jan le 8 Jan 2018
if true
k=rand(192,1);
Q=32142;
q=dec2bin(Q);
K=bitxor(k,q);
end
  2 commentaires
Birdman
Birdman le 8 Jan 2018
Why would you want that?
Jan
Jan le 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?

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Encryption / Cryptography dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by