Importing data from txt file
조회 수: 3 (최근 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!