%% Comparing Numeric Values with Special Nonnumeric Values
% Compare the logical value true to the double integer 1.

isequaln(true,1)

% Notice that isequaln does not consider data type when it tests for equality.
%
% Similarly, compare 'A' to the ASCII-equivalent integer, 65.

isequaln('A',65)

% The result is logical 1 (true) since double('A') equals 65.
% Copyright 2012 The MathWorks, Inc.