2.6.1 replaceNaN() - shunnnli/NeuroDAP GitHub Wiki
Overview
For a given array/table, find all elements that is equal to NaN and replace it to a given value (val).
Inputs and options
Required inputs
array: can be an array or a table (e.g. a trial table)val: double, value to replaceNaN
Outputs
result: the replaced version ofarray
Examples
array = [23 NaN 2332];
result = replaceNaN(array,0);