Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
How to read large data and plot them in matlab
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi. I have a file containing digit numbers with a large number of rows and three columns, generated by C program. When I use the ImportData to import them only half of the first coloumn and most of the second one are imported. The remaining get NaN. How can I import all the data of column 1 and 2 and plot them?
Thank you
8 Kommentare
Walter Roberson
am 8 Mai 2019
Importdata cannot handle fixed width fields except when there just happens to be one or more spaces between fields every time.
See https://www.mathworks.com/help/matlab/ref/matlab.io.text.fixedwidthimportoptions.html and readtable instead.
Antworten (0)
Diese Frage ist geschlossen.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!