How to find data
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Can I ask how to find variables with the same country name, correspond total death, cases and plot it on the graph which in a huge data set like this
4 Commenti
Risposte (1)
David Hill
il 19 Mag 2022
t=readtable('owid-covid-data_2020-21.csv');
u=unique(t.Location);
s=zeros(1,length(u));
for k=1:length(u)
s(k)=sum(t.TotalDeaths(ismember(t.Location,u(k))));
end
bar(1:length(u),s)
0 Commenti
Vedere anche
Categorie
Scopri di più su Live Scripts and Functions in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!