nonnans.m

From Spinach Documentation Wiki
Revision as of 11:28, 25 April 2026 by Kuprov (talk | contribs) (Normalise sequential blank lines)
Jump to: navigation, search

Returns the non-NaN elements of a numerical array.

Syntax

    nums=nonnans(a)

Arguments

    a    - a numeric array of any dimension

Outputs

    nums - non-NaN elements of the input array,
           a column vector

See also

Numerical infrastructure

Version 2.9, authors: Ilya Kuprov