Question: Need this in MATLAB Question 5 (10 points) The average monthly precipitation (in inches) for Salt Lake City and Orem during 2017 are given in

Need this in MATLAB
Question 5 (10 points) The average monthly precipitation (in inches) for Salt Lake City and Orem during 2017 are given in the vectors below (data from the U.S. Climate Data website) SLC [1.46 1.50 2.20 2.32 2.09 1.14 0.59 0.71 1.54 1.65 1.77 1.61]. ORM [1.22 1.10 1.14 1.30 1.38 0.79 0.67 0.79 1.14 1.50 1.02 0.79] The elements in the vectors are in the order of the months (January, February, March, etc.). Write a script file to answer the following questions. Calculate the total precipitation for the year and monthly average precipitation in each city. How many months was the precipitation above average in each city? How many months, and on which months, was the precipitation in Salt Lake City lower than the precipitation in Orem? a. b. c. Answer the questions here
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
