To eliminate the lines begin with "%"
Show older comments
I have a file (attached here) which I need to eliminate all the lines begin with "%" and remove the "commas" after the numbers. Then read the numbers and put in separate columns X, Y and Z. Can anyone help me to make the program?
Accepted Answer
More Answers (1)
Image Analyst
on 26 Nov 2013
0 votes
Why not just use importdata() where you can tell it to throw away some number of headerlines?
Categories
Find more on Text Data Preparation 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!