Testing NaN existence in array

John W. Eaton jwe at octave.org
Wed May 27 05:08:15 CDT 2009


On 27-May-2009, Jaroslav Hajek wrote:

| any (isnan (a)(:))

If you want a Matlab-compatible expression, you might use

  any (isnan (a(:)))

instead.

jwe


More information about the Help-octave mailing list