how to use read variable

1 回表示 (過去 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 Center および File ExchangeLogical についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by