Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Here is the problem Using For Loops and a Random Number Generator, generate a tw

ID: 1811341 • Letter: H

Question

Here is the problem


Using For Loops and a Random Number Generator, generate a two dimensional array that has 4 columns and 12 rows that consists of random numbers between 20 and 100. These columns will represent data taken on 4 machines, machines #1 through #4, and each row represents data taken at a different hour from 1:00 to 12:00.

           

            Using the Array routines, find which machine has the highest reading, give the row and column of the highest reading, and the value of the reading.Then separate the machines with the highest readings data from the rest, as a one dimensional array. Find the average reading for that machine.

           

            Also, separate out the row (or the time) with the highest reading and find the average reading for that row.

            Combine the data for two machines, that are selected on the front panel, into a 24 member, one dimensional array, then separate it into two one dimensional arrays, one containing all values less than or equal to 60, and the other all values greater then 60.

           

            For each of these arrays, give the number of members of the array and arrange the data in the greater than 60 array in ascending order.

           

            Finally, create a new array consisting of the first 3 values of the greater than 60 array that are greater than 70.

            Display all values on the front panel.

Explanation / Answer

plzz tell me the language or tool you are using is it Matlab or C/C++