I am multiplying two matrices together and instead of doing the regular addition I would to use XOR. I tried the XOR function but it gave me errors.
a = [2 3 1 1; 1 1 3 1; 1 1 2 3; 3 1 3 2]b = [dec2hex(172);dec2hex(119);dec2hex(102);dec2hex(243)]% prod = xor(a ,b)
prod = a * b>> matrix
a =
2 3 1 1 1 1 3 1 1 1 2 3 3 1 3 2b =AC7766F3
prod =
419 404 352 335 438 383 552 520
>>
Best Answer