how to use read variable

조회 수: 2 (최근 30일)
John fredson
John fredson 2022년 5월 20일
답변: KSSV 2022년 5월 20일
May I know how to obtain column of population using readtable?

채택된 답변

KSSV
KSSV 2022년 5월 20일
T = readtable('https://in.mathworks.com/matlabcentral/answers/uploaded_files/1005205/Population_data.xlsx') ;
T.Population_million_ % use column name
T.(3) % using index

추가 답변 (1개)

Jan
Jan 2022년 5월 20일
T = readtable('Population_data.xlsx');
population = T{:, 3};

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by