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

    %ISINF  True for infinite elements.
%   ISINF(X) returns an array that contains 1's where the
%   elements of X are +Inf or -Inf and 0's where they are not.
%   For example, ISINF([pi NaN Inf -Inf]) is [0 0 1 1].
%
%   See also ISFINITE, ISNAN.

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