Fill This Form To Receive Instant Help
Homework answers / question archive / In MATLAB, import the data file contains the percentages of the population that have diabetes in each of the four provinces and also the country as a whole (excluding territories) for age groups 35 years of age and above
In MATLAB, import the data file contains the percentages of the population that have diabetes in each of the four provinces and also the country as a whole (excluding territories) for age groups 35 years of age and above. Data were collected between 2015 and 2021:
https://www.cs.ryerson.ca/~cps118/data/statscan_diabetes.csv
REF_DATE (year), GEO (country/province), Age group (35-49 years, 50-64 years, 65 years and over), Sex (Females/Males), and VALUE (the % of population that has diabetes) will be used for calculations.
some data may be missing because they were not collected by Statistics Canada. When imported they are shown as NaN. You must ignore those missing data in your calculations (do not substitute 0 for the values)
Make a line plot of the percentages for the different age groups between 2015 and 2021 for Canada. Have the years on the x-axis and the percentages on the y-axis. Make three lines on the same figure with different colours and line types. Place a title on your graph, label your axes and show a legend.