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