To eliminate the lines begin with "%"
古いコメントを表示
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?
採用された回答
その他の回答 (1 件)
Image Analyst
2013 年 11 月 26 日
0 投票
Why not just use importdata() where you can tell it to throw away some number of headerlines?
カテゴリ
ヘルプ センター および File Exchange で Text Files についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!