"someone" wrote in message <email@example.com>... > "Nathaniel" wrote in message <firstname.lastname@example.org>... > > 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. > > Based on the information you provided, its going to take a lot of guessing to give you any kind of an answer. > > Can you provide sniplets of your code befor and after? > What does the input data look like? > How did you "add precision" to textscan?
Good point, sorry, this is my first time on a forum. I'm using this for text scan