Please answer in matlab code. Download the data file AtlanticHurricanes20012020.csv, read in Matlab, and assign to the array hurrData: hurrData = readmatrix('AtlanticHurricanes20012020.csv'); Create a histogram plot showing the number of Hurricanes per year Label the x-axis Number of Hurricanes/year Label the y-axis Frequency Title the plot Hurricane Frequency Distribution 2001-2020 Save the figure as an emf file Create a bar plot showing annual hurricaines occurence Set the x = to the year; y = number of hurricanes Label the x-axis Year Label the y-axis Number of Hurricanes Title the plot Annual Hurricane Occurrence 2001-2020 Save the figure as an emf file. Create a line plot showing annual hurricaines occurence Set the x = to the year; y = number of hurricanes. The curve should be a red line with square symbols. Label the x-axis Year Label the y-axis Number of Hurricanes Title the plot Annual Hurricane Occurrence 2001-2020 Save the figure as an emf file. Plot the histogram, the bar chart and the line plot as three separate charts on the same figure using the subplot function so that the histogram is first, the bar chart is next and is below the histogram and the line plot is at the bottom. Label and title each subplot. Save the figure as an emf file.
Please answer in matlab code.
Download the data file AtlanticHurricanes20012020.csv, read in Matlab,
and assign to the array hurrData:
hurrData = readmatrix('AtlanticHurricanes20012020.csv');
Create a histogram plot showing the number of Hurricanes per year Label the x-axis Number of Hurricanes/year Label the y-axis Frequency Title the plot Hurricane Frequency Distribution 2001-2020 Save the figure as an emf file
Create a bar plot showing annual hurricaines occurence Set the x = to the year; y = number of hurricanes Label the x-axis Year Label the y-axis Number of Hurricanes Title the plot Annual Hurricane Occurrence 2001-2020 Save the figure as an emf file.
Create a line plot showing annual hurricaines occurence Set the x = to the year; y = number of hurricanes. The curve should be a red line with square symbols. Label the x-axis Year Label the y-axis Number of Hurricanes Title the plot Annual Hurricane Occurrence 2001-2020 Save the figure as an emf file.
Plot the histogram, the bar chart and the line plot as three separate charts on the same figure using the subplot function so that the histogram is first, the bar chart is next and is below the histogram and the line plot is at the bottom. Label and title each subplot. Save the figure as an emf file.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 2 images