Documentation of zero_fillnan


Global Index (all files) (short | long) | Local Index (files in subdir) (short | long)


Function Synopsis

x = zero_fillnan ( x ) ;

Help text

 function x = zero_fillnan ( x ) ;

  function to replace all NaNs in a vector by ZEROS.
 
  See also: SUM2

Cross-Reference Information

This function is called by

Listing of function zero_fillnan

function x = zero_fillnan ( x ) ;

ix = find(isnan(x)); x(ix) = zeros(size(ix));