www.gusucode.com > elmat工具箱matlab源码程序 > elmat/isfinite.m
%ISFINITE True for finite elements. % ISFINITE(X) returns an array that contains 1's where % the elements of X are finite and 0's where they are not. % For example, ISFINITE([pi NaN Inf -Inf]) is [1 0 0 0]. % % For any X, exactly one of ISFINITE(X), ISINF(X), or ISNAN(X) % is 1 for each element. % % See also ISNAN, ISINF. % Copyright 1984-2005 The MathWorks, Inc. % Built-in function.