필터 지우기
필터 지우기

Importing txt files... each column as individual variable

조회 수: 2 (최근 30일)
CarrotCakeIsYum
CarrotCakeIsYum 2016년 10월 26일
댓글: CarrotCakeIsYum 2016년 10월 26일
Hello, I'm importing text files that are generated from another program. The txt files are tab delimited, with the first row as column headers.
I'd like to import the data so each column is a variable, with the title of the column header. So the data:
Knee Hip Ankle
45 12 16
47 14 18
49 16 20
becomes 3 variables called 'Knee', 'Hip' and 'Ankle'.
Any help would be massively appreciated. Thanks.

채택된 답변

dpb
dpb 2016년 10월 26일

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Import and Export에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by