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: How to read numbers in a text file efficiently
Replies: 1   Last Post: Jan 8, 2013 9:04 AM

Advanced Search

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

Posts: 87
Registered: 11/30/09
How to read numbers in a text file efficiently
Posted: Jan 8, 2013 8:36 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

How to read the numbers in a text file in the following form

ISSUE K1 K2 K3
"130108074" "4" "3" "2"
"130108073" "6" "1" "1"
"130108072" "2" "5" "1"
"130108071" "2" "6" "5"
"130108070" "1" "2" "2"
"130108069" "5" "6" "1"
"130108068" "3" "2" "1"
"130108067" "5" "6" "5"
"130108066" "2" "6" "4"

and another form as (the first column of numbers were seperated by '-0', e.g., 20130107-082 is expected to be 2013010782)

20130107-082 115
20130107-081 666
20130107-080 136
20130107-079 122
20130107-078 334
20130107-077 236
20130107-076 566



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.