Question: DO IN MATLAB; Agiven file contains a 1 0 0 x 1 0 0 matrix of random integers. The matrix is named M . Download

DO IN MATLAB; Agiven file contains a 100x100 matrix of random integers. The matrix is named M. Download and import the data and answer the following questions based on M. a) Find the sum of all the elements in every 4th row, starting with row 4(i.e., rows 4,8,12,.). Your answer should be a scalar value (i.e., add the sum of numbers in every 4th row together).Answer = Answerb) A 4-by-7 sub matrix is created from the elements in rows 5,25,50 and 100 and in columns 4,12,23,46,56,78 and 80. Find the smallest value of this sub matrix.Answer = Answerc) The first 5-by-5 numbers of an example matrix M are shown below. The highlighted 4 adjacent numbers form a square.The sum of the 4 numbers is 63+95+30+44=232.How many such squares (set of 4 adjacent numbers) in the matrix M (the 100-by-100 matrix in data file) add up to more than 250(i.e., their sum is greater than 250)? You should use a nested for loop for this task
 DO IN MATLAB; Agiven file contains a 100x100 matrix of random

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!