XOR

NAME
SYNOPSIS
DESCRIPTION
EXAMPLE
AUTHORS
AVAILABILITY
SEE ALSO

NAME

xor - exclusive or

SYNOPSIS

C = xor(A,B)


       Input
       A, B:  input arrays

       Output
       C: resulting boolean array

DESCRIPTION

"xor" is a simple convenience function to calculate the exclusive OR logical operator on the corresponding elements of the input arrays. The resulting element is %f if either the corresponding elements in A or in B are nonzero, but not both.

EXAMPLE

A = [0 0 %pi %eps] B = [0 -6.9 0 1 ]
C = xor(A,B) C = | F T T F |

AUTHORS

Ricardo Fabbri <rfabbri@if.sc.usp.br>

AVAILABILITY

The latest version of the Scilab Image Processing toolbox can be found at
http://siptoolbox.sourceforge.net

SEE ALSO

and, or