How to exclude the characters row in a text file?
Show older comments
In the attached file i want to read only the numeric data of the file so that i can plot X Y. But i am facing problem that how to offset the row having strings. Someone help !
3 Comments
Walter Roberson
on 31 Dec 2018
Edited: Walter Roberson
on 31 Dec 2018
In the case of that particualar file, the data appears to be duplicated between the two sections, so it would appear to be fine to stop reading after the first set of numbers. Is that the general case, or is it necessary to read all of the number groups? If it is needed to read all of the number groups, should they be stored independently or as one matrix ?
zainab malik
on 31 Dec 2018
zainab malik
on 31 Dec 2018
Accepted Answer
More Answers (0)
Categories
Find more on Data Type Conversion in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!