I have a large CSV data and I tried to import using textscan. The data has some letters NA in the inside the data. I used the following script, however out of 215842 rows only 11 are recognized. The data importing stopped at row where it encouter the NA text.
How could I convert this data to NaN before importing to matlab or other alternative to that might work?
field=fopen ('wt01.csv');
wt_data= textscan (field,' %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f ','delimiter',',');
fclose (field);