How xor the integer with binary value?

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개)

카테고리

도움말 센터File Exchange에서 Encryption / Cryptography에 대해 자세히 알아보기

태그

질문:

2018년 1월 8일

댓글:

Jan
2018년 1월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by