Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

USE MATLAB PROBLEM 2 Consider the Climatology example given in class. a) Determi

ID: 2079265 • Letter: U

Question

USE MATLAB

PROBLEM 2

Consider the Climatology example given in class.

a) Determine Max total precipitation, and the month and the day that it happened.

b) Determine Min total precipitation, and the month and the day that it happened.

c) Produce a new table that contains only the following data:Month, Total precipitation, Total snow fall, number of days having more than one inch of precipitation.

Please help ..please

Depart. Heating Cooling From Degree Degree Month Max Min Mean normal Days Days Highest Date Lowest Date bu90 Maxca22 Min ca22 Min (inches) normal -Day d Date Total Fall Depth Date >NO.1 NO.9 -1.0 35 628 0 66 16 14 0 2 16 0 301 -0.19 079 17 12 OT 1 6 3 0 2 52.6 32.1 42.4 4 70.1 48.2 59.2 13.6 80.2 60.9 86.4 31 0 0 0 0.9 -2.96 0.29 0 0 4 10 67.6 45.5 566 04 255 1 15 28 0 0 2 0 1 53 -124 059 4 0 0 3 2 0

Explanation / Answer

Create a array which Contain entire data in that variable

it can be as below

a=[paste all data of the table ]

a.

the max rain occuring colum is 18

so

use commond

x=max(a(:,18))

id will index value

so a(i,19) give the day at which rain occured

day=a(i,19)

x gives max pricipitation value

b. to find minimum rain fall

simillary identify minimum pricipitation clumn

do the same process

c.

identify the column which corresponds to Month, Total precipitation, Total snow fall, number of days having more than one inch of precipitation. paste the data in single array

example if we have to add 1,3 ,4,7 coloumn

asp=[a(:,1) a(:,3) a(:,4) a(:,7)]