From: Shankar on
Hello,
I am working with multiple data sets that were generated from R software where the missing values are stored as "NA" instead "NaN" (R doesn't allow to store as "NaN") .
Is there a way I can read these data sets into MATLAB and convert them to NaN?

when I use "dlmread", it gives an error message (Trouble reading number from file (row XX, field XX) ==> NA 0)

I would appreciate any help in this regard.

Many thanks