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: Importing columns of different lengths using textscan
Replies: 6   Last Post: Sep 12, 2013 5:55 PM

Advanced Search

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

Posts: 61
Registered: 12/8/08
Importing columns of different lengths using textscan
Posted: Sep 12, 2013 6:26 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hello,

I have a file that I am reading in using textscan but the column lengths are different due to blanks (see example). I think my problem is specifying the integer type as some data from a certain column end up overlapping with another. I am currently using %f%f%f

Help is appreciated.

Thanks,

Phil

3
4 3
5 3 45
6 4 56
3 87 34
32 3 4
6 23 3
6 6 23
9 6 2
89 4
78 2
56
45



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.