Importing data from txt file
2 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Image Analyst
on 6 Jun 2014
t = readtable('chichi_triplos_katagrafh.txt');
or use dlmread();
2 Comments
Image Analyst
on 6 Jun 2014
readtable is only there after R2013b. Try importdata
M = importdata(filename, '\t', 1)
See Also
Categories
Find more on Spreadsheets in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!