Importing text to cell, avoid conversion to scientific notation
Mostrar comentarios más antiguos
I'm wondering how I can import a tab delimited text file into a cell without having it convert to scientific notation.
1 comentario
The standard MATLAB file-reading functions read data with the full double precision, and do not "convert to scientific notation". When data is displayed in the command window it is often shown in scientific notation, but this is not the same thing as how it is stored. You can use format to change how numeric values are displayed.
Summary: displaying numeric variables is a different topic to how they are stored.
Respuesta aceptada
Más respuestas (1)
Thorsten
el 26 de Oct. de 2015
0 votos
You can use dlmread for this task.
Categorías
Más información sobre Logical 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!