I want to xor 2 hex values.
reshape(dec2bin(hex2dec(str(:)),4).',1,[])
I convert 2 hex values to binary using these and store it in a and b.
How to xor now?
Cant get using bitxor.
Is there an alternative.
I want two user inputted hex
xoring hex
Best Answer