Answered step by step
Verified Expert Solution
Question
1 Approved Answer
in matlab Q1] The maximum daily temperature (in F) for City1 and City2 during the month of August 2009 are given in the vectors below:
in matlab
Q1] The maximum daily temperature (in F) for City1 and City2 during the month of August 2009 are given in the vectors below: TC1 = [75 79 86 86 79 81 73 89 91 86 81 82 86 88 89 90 82 84 81 79 73 69 73 79 82 72 66 71 69 66 66] TC2 = [69 68 70 73 72 71 69 76 85 87 74 84 76 68 79 75 68 68 73 72 79 68 68 69 71 70 89 95 90 66 69] Write a program in a script file to answer the following: (a) Calculate the average temperature for the month in each city. (b) How many days was the temperature above the average in each city? (c) How many days, and on which dates in the month, was the temperature in City2 lower than the temperature in City1? (d) How many days, and on which dates in the month, was the temperature the same in both citiesStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started