how xor is used between two no.? or which command ?
2 ビュー (過去 30 日間)
古いコメントを表示
LL=mod(176+233,256) xor (142);
0 件のコメント
採用された回答
Stephen23
2019 年 6 月 14 日
編集済み: Stephen23
2019 年 6 月 14 日
>> bitxor(mod(176+233,256),142)
ans = 23
Note that xor, like all logical operators in MATLAB, treats non-zero elements as true, so given that both mod(176+233,256) and 142 are non-zero we already know that the output will be false:
>> xor(mod(176+233,256),142)
ans = 0
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!