Can i perofrm Exclusive Or on matrix rather than simple add

Status
Not open for further replies.

moonnightingale

Full Member level 6
Joined
Sep 17, 2009
Messages
362
Helped
5
Reputation
10
Reaction score
5
Trophy points
1,298
Activity points
3,832
I am having two binary matrix

I want to multiply them . But after multiplication when digits are added , i want them to perform Exclusive Or operation rather than normal addition

Example is here

a= [1 0]
b= 1
1

c= a*b
I want them 1*1 Exclusive OR 0*1

Hope u understood that rather than normal addition i want exclusive OR
Thanks
 

Hi,

if you are using MATLAB then there is command called xor.
just type help xor on command prompt

-- Ashwini
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…