%% Symmetric Difference of Vectors of Different Classes and Shapes
% Create a column vector character array.

A = ['A';'B';'C'], class(A)

%
% Create a row vector containing elements of numeric type double.

B = [66 67 68], class(B)

%
% Find the symmetric difference of A and B.

C = setxor(A,B)

%
% The result is a column vector character array.

class(C)

% Copyright 2012 The MathWorks, Inc.