how to use read variable

2 views (last 30 days)
John fredson
John fredson on 20 May 2022
Answered: KSSV on 20 May 2022
May I know how to obtain column of population using readtable?

Accepted Answer

KSSV on 20 May 2022
T = readtable('') ;
T.Population_million_ % use column name
T.(3) % using index

More Answers (1)

Jan on 20 May 2022
T = readtable('Population_data.xlsx');
population = T{:, 3};


Community Treasure Hunt

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

Start Hunting!