Importing data from txt file
2 次查看(过去 30 天)
显示 更早的评论
Hello I have a text file: attached
I would like to take the numerical values of the first and second column and put them in matrices T and A respectively.
0 个评论
回答(1 个)
Image Analyst
2014-6-6
t = readtable('chichi_triplos_katagrafh.txt');
or use dlmread();
2 个评论
Image Analyst
2014-6-6
readtable is only there after R2013b. Try importdata
M = importdata(filename, '\t', 1)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!