Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: textscan with precision random NaN
Replies: 3   Last Post: Jun 24, 2013 12:01 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Nathaniel

Posts: 2
Registered: 6/24/13
textscan with precision random NaN
Posted: Jun 24, 2013 10:40 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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.



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.