Latest YouTube Video

Saturday, January 20, 2018

anonymous iff function error on table data

I'm trying to find bad data markers (-999) in a table and convert them to NaN. I have an anonymous iff function below that generates an error on the last line: % error correction -999 to NaN for humidity data iif = @(varargin) varargin{2 * find([varargin{1:2:end}], 1, 'first')}(); negToNaNfunc = @(x) iif(x<-100 ...

from Google Alert - anonymous http://ift.tt/2BgZVOU
via IFTTT

No comments: