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
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