www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/NonstandardMissingCharactersExample.m

    %% Nonstandard Missing Numbers
% Create a row vector and replace all instances of |-99| with the standard
% missing value for |double| data types, |NaN|.
A = [0 1 5 -99 8 3 4 -99 16];
B = standardizeMissing(A,-99)