Hi,
I'm reading in a csv file of time-series data into a C++ program. My data however contains some NaN's. For example:
1-Jul-2010, 1.0
2-Jul-2010, 2.0
3-Jul-2010, NaN
4-Jul-2010, 3.0
To deal with this I wrote a short script in Matlab which replaces all the NaN's with 0.0 - I then read in the new file without the NaN's. Is there an easy way or avoiding this pre-processing?
Thanks!