How xor the integer with binary value?

17 ビュー (過去 30 日間)
PLACEIUS NISHIGA G
PLACEIUS NISHIGA G 2018 年 1 月 8 日
コメント済み: Jan 2018 年 1 月 8 日
if true
k=rand(192,1);
Q=32142;
q=dec2bin(Q);
K=bitxor(k,q);
end
  2 件のコメント
Birdman
Birdman 2018 年 1 月 8 日
Why would you want that?
Jan
Jan 2018 年 1 月 8 日
What is the wanted result for e.g. k=0.12345 and Q=32142? Why do you convert Q to a binary string?

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeEncryption / Cryptography についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by