To eliminate the lines begin with "%"
Mostrar comentarios más antiguos
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?
2 comentarios
Walter Roberson
el 25 de Nov. de 2013
The file did not get attached.
aneps
el 25 de Nov. de 2013
Respuesta aceptada
Más respuestas (1)
Image Analyst
el 26 de Nov. de 2013
0 votos
Why not just use importdata() where you can tell it to throw away some number of headerlines?
Categorías
Más información sobre Text Files en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!