I've been trying to create a column vector that is able to store diffrent dates, I've previously create a column vector to store the populations for each country so i wrote a code like this down :
countryPop = zeros(size(countries));
for i = 1:length(countries)
iCountryFirst = find(strcmp(coviddata.countriesAndTerritories,countries(i)),1);
countryPop(i) = coviddata.popData2019(iCountryFirst);
This would create a coloumn vector and store the populations in it, however i'm trying to do this for dates now rather than populations of diffrent countires. The dates are stored in a DD/MM/YYYY format.
Please can somebody help be do this and many thanks,