how to import a file in MATLAB?
Mostrar comentarios más antiguos
I want to import a file (.dat or txt) in MATLAB, which contains numbers and NaN in some columns.
My file looks like this:
Name:
Day: 5/07/21998
UT LT hpp fpH SSP EF GG
0.0808 21.0808 227 - - N
0.1732 21.1732 300 4.7 340 - N
0.2533 21.2533 237 4.6 335 - N
0.3333 21.3333 249 - - N
0.4233 21.4233 251 - - N
0.5033 21.5033 244 4.6 328 - N
0.5833 21.5833 256 - - N
0.6733 21.6733 253 4.7 330 - N
2 comentarios
Walter Roberson
el 3 de Oct. de 2013
Do any values before the UT heading need to be imported? Which of the columns do you want read in? For example the EF column is shown here as always "-", but should that be skipped or read in? In the SSF column, should the blank entries be important as 0 or as NaN or should the column be imported as string without numeric interpretation?
Respuesta aceptada
Más respuestas (1)
Gautam PAL
el 16 de Oct. de 2013
0 votos
How to read video file using matlab..?
Categorías
Más información sobre Large Files and Big Data 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!