Dec 11, 2009 #1 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
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
Dec 12, 2009 #2 A ashwini1 Member level 1 Joined Jul 17, 2009 Messages 32 Helped 2 Reputation 4 Reaction score 2 Trophy points 1,288 Location Bangalore Activity points 1,483 Hi, if you are using MATLAB then there is command called xor. just type help xor on command prompt -- Ashwini
Hi, if you are using MATLAB then there is command called xor. just type help xor on command prompt -- Ashwini