Importing data from txt file

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.

回答 (1 件)

Image Analyst
Image Analyst 2014 年 6 月 6 日

0 投票

t = readtable('chichi_triplos_katagrafh.txt');
or use dlmread();

2 件のコメント

Image Analyst
Image Analyst 2014 年 6 月 6 日
lason's "Answer" moved here:
none of them is working
Image Analyst
Image Analyst 2014 年 6 月 6 日
readtable is only there after R2013b. Try importdata
M = importdata(filename, '\t', 1)

サインインしてコメントする。

タグ

質問済み:

2014 年 6 月 5 日

コメント済み:

2014 年 6 月 6 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by