www.gusucode.com > elmat工具箱matlab源码程序 > elmat/isequalwithequalnans.m

    %ISEQUALWITHEQUALNANS True if arrays are numerically equal.
%
%   ISEQUALWITHEQUALNANS is not recommended. Use ISEQUALN instead. 
%
%   Numeric data types and structure field order
%   do not have to match.
%   NaNs are considered equal to each other.
%
%   ISEQUALWITHEQUALNANS(A,B) is 1 if the two arrays are the same size
%   and contain the same values, and 0 otherwise.
%
%   ISEQUALWITHEQUALNANS(A,B,C,...) is 1 if all the input arguments are
%   numerically equal.
%
%   ISEQUALWITHEQUALNANS recursively compares the contents of cell
%   arrays and structures.  If all the elements of a cell array or
%   structure are numerically equal, ISEQUALWITHEQUALNANS will return 1.
%
%   See also ISEQUALN, ISEQUAL, EQ.

%   Copyright 1984-2012 The MathWorks, Inc.
%   Built-in function.