Info
この質問は閉じられています。 編集または回答するには再度開いてください。
How to read large data and plot them in matlab
1 回表示 (過去 30 日間)
古いコメントを表示
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 件のコメント
Walter Roberson
2019 年 5 月 8 日
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.
回答 (0 件)
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!