help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Treating -999 values in ASCII as missing


From: Jordi Gutiérrez Hermoso
Subject: Re: Treating -999 values in ASCII as missing
Date: Tue, 7 Aug 2012 12:41:49 -0400

On 7 August 2012 12:33, Paulo Santiago <address@hidden> wrote:
> I would like to know how do I say to Octave, at read time, that those -999
> values must be treated as missing values.

You can use NA to indicate missing values:

   the_matrix(the_matrix == -999) = NA.

HTH,
- Jordi G. H.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]