I am reading in a set of data using the textscan function. This was working perfectly ... until I added precision. Now it reads in all the data correctly, but also reads in NaN values between some of the lines. So, if the data were: 1 2 3 4 5
it might be read in as
1 2 3 NaN 4 NaN 5
Still investigating if there is a pattern in the NaN placement, but does anyone have any leads? Thank you for your time.