Question: Can anyone please help me with this matlab problem? I'd realy appreciate it. Data collected by the national Weather Service are good to practice data

Can anyone please help me with this matlab problem? I'd realy appreciate it.

Data collected by the national Weather Service are good to practice data manipulations in MATLAB. Take for example the Asheville North Carolina Climatological data of 1999 in EXCEL file format. Well use these data to input it to MATLAB and generate plots. Data are in the Excel file called Asheville_1999.xls. The goal of this project is to calculate annual means of maximum and minimum temperatures and plot graphs to display temperatures versus each month.

DOC FILE (4 points):

1.(1 point) State the problem

(1 point) Describe the input, output for this project.

Input:

Output:

(0.5 points) Calculate the annual average maxT and mint average maxT average mint

average maxT =

average minT =

(0.5 points) Calculate the maximum average maxT and minT maximum maxT and maximum mint

maximum maxT =

maximum minT =

(1 point) Copy and paste your fig files output of your two plots here.

MATLAB PORTION M FILE (6 points)

1.Import the excel FILE ONTO MATLAB and calculate the annual mean of the maximum temperatures and the annual mean of minimum temperatures. Compare what you found out with the norm command to the values below.

i.Annual mean of the maximum temperatures for 1999 is 68.05 degrees

ii.Annual mean of the minimum temperatures for 1999 is 46.33 degrees

Display your finding in the program with proper comment lines.

2. Inside the same program, tabulate the data from excel file as month, maximums and minimums in three columns with headings. These are exact values you read from the excel file.

3. Inside the same program, develop subplots as follows. They need to pop up while I run the program.

a. line plot of maximums versus the month in green line with red markers

b. line plot of minimums versus the month make sure you a green line with red markers

Make sure your maximums are on the left and the minimums are on the right as subplots.

You will be graded on the look of the graphs. Make sure that you label your axes and titles properly.

4,Use the max function to display the maximum value for maxT and minT. Save them under maxtempmax and maxtempmin.

Repeat the process of finding the maximum of maxT maximum of minT using a for loop inside your m file. Call those maxloopmax and maxloopmin

Compare

maxtempmax and maxloopmax

maxtempmin and maxloopmin

using the norm Display your finding.

EXCEL DOC name Asheville_1999-1.xlsx

Date Temperature in Fahrenheit
1999 Month MaxT MinT
January 51.4 31.5
Feb 52.6 32.1
March 52.7 32.5
April 70.1 48.2
May 75 51.5
June 80.2 60.9
July 85.7 64.9
August 86.4 63
September 79.1 54.6
October 67.6 45.5
November 62.2 40.7
December 53.6 30.5

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!