Question: 1 . Using the maximum temperature data on page 4 of the Climate Report, create a 1 x 1 5 structure using the 'struct' function.

1. Using the maximum temperature data on page 4 of the Climate Report, create a 1x15
structure using the 'struct' function. Name the structure maxtempData and create fields for each
station,average,normal,highest 2020, and lowest 2020.(Hint: import the workspace into
your LiveScript and fill the missing values)
[15]
Find the Station with the lowest 'Average' temperature in the maxtempData structure by
following the steps below:
2. Extract the "Average" values from the structure into a cell array called averageValues
[4]
3. Convert the averageValues cell array to a numeric array called averageValuesNumeric
(Hint: Use str2double function)[4]
4. Find the index of the minimum value in the averageValuesNumeric numeric array.
[4]
5. Retrieve the corresponding station name for the minimum value and store it in stationName.
[4]
6. Display the minimum value and the name of the station.
[4]
Visualize the "Normal" temperature values in a bar graph.
7. Extract station names and corresponding 'Normal' values from the maxtempData structure
and store them in variables named stationNames and normalValues [4]
8. Create a bar graph using normalValues [2]
9. Annotate the bar graph to look like the graph shown below.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!