Question: Generate a matrix of random integer temperatures in Fahrenheit from 70 to 100 for 10 weeks (rows) and 7 days per week (columns). The result

Generate a matrix of random integer temperatures in Fahrenheit from 70 to 100 for 10 weeks (rows) and 7 days per week (columns). The result should look something like this. Assume the first column is Monday, etc. temperatures = 96 77 95 77 98 80 76 77 89 84 80 95 88 87 98 78 93 93 81 87 72 71 86 94 98 74 87 84 70 80 75 94 79 86 75 88 78 90 91 93 83 72 77 98 74 95 86 100 72 83 73 99 70 94 95 96 72 82 78 94 83 98 75 78 74 74 96 87 87 74 Write Matlab code to answer the following questions. 2a. Which day (1 through 7) had the highest average temperature, and what was that average temperature? 2b. How many days over 90 degree are there? 2c. Which week number had the most temperatures less than 75 degrees
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
