|
"Jos (10584)" wrote in message <iioq1b$j6m$1@fred.mathworks.com>...
> "Yumnam Kirani" <kirani.singh@gmail.com> wrote in message <iioo3g$eou$1@fred.mathworks.com>...
> > Have you ever wanted to correc the negative logic of XOR operation. I have developed a logical operator similar to XOR giving the name YOR. The logic behind YOR is that when two numbers to be YORed are equal the output should be 1. Moreover, YOR should be reversible similar to XOR. Thos who are interested to see YOR logic may visit my homepage http://yumnam-kirani.hpage.com and find YOR LOGIC from the list given in the left pane.
> > Any suggestion or comment is welcomed.
> > Yumnam Kirani Singh
> > Tronglaobi Awang Leikai
>
> The File Exchange is a more appropriate place for this.
>
> btw. It seems that yor(a,b) simply equals ~xor(a,b) ...
>
> Jos
Thank you Jos for your reply. Yor is not exactly equal to not Xor. for example, yor(12,17)=28, while xor(12,17)=29 and ~xor(12,17)=2.
Yumnam Kirani Singh
Tronglaobi Awang Leikai
|