Question: Please show how to do the code for the grader question (not the first one). Thanks! P.S. Hopefully you can read this! The matrix variable

 Please show how to do the code for the grader question

Please show how to do the code for the grader question (not the first one). Thanks!

P.S. Hopefully you can read this!

The matrix variable rainmat stores the total rainfall in inches for some districts for a 7 year period. Each row has the rainfall amounts for a given district. For example, if rainmat has the value: >>rainmat ans = 25 33 20 42 44 49 28 53 44 40 58 39 45 14 etc. district 1 has 25 inches in year 1.33 in year 2. etc. Use randi to create a random rainmat matrix with values from 0 to 60. Make the matrix represent 12 years of data and 7 districts. Use help for the FIND function to see various ways it can specify when an element is found. Write expression(s) that will find the number and year of the district that had the highest total rainfall in a single year. Store the year in a variable named year and the district number in a variable named district. Then complete and submit the problem in Grader using the following matrix rainmat = 8 14 10 33 11 58 18 39 57 12 11 18 57 21 39 18 22 47 31 23 53 18 13 56 58 50 44 45 38 29 31 49 33 28 10 25 35 0 39 11 47 26 49 32 37 14 13 11 3 3 2 27 41 4 27 48 21 35 51 26 55 Script Reset MATLAB Documentation 56 18 39 12 2 rainmat - [8 57 21 58 50 35 31 14 le 39 18 44 45 3911 27 41 33 22 38 38 47 11 47 29 53 33 57 18 28 3 23 49 32 21 31 49 48 11 18; 13 56; 10 26: 13 11; 26 55]; 26 37 14 51 5 3 2. 4 27 35 8 9

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!