Question: Exercise 1 - Statistics on array with random numbers Write a program in C which fills, with random values between 0 and M, a square

Exercise 1 - Statistics on array with random numbers Write a program in C which fills, with random values between 0 and M, a square matrix TNx Consider that M and N are constants. Then, your program should calculate and print the following: The number of occurrences of each number in the matrix r (frequencies of all the numbers) You will need a second 1D array with the name freq and size M 1. The mean value and the population standard deviation of all the elemnts in the matrix The mean value and the population standard deviation of a set of n numbers {X1, X2, . . . , Xn} are real numbers and they are defined as: 7n Try to calculate efficiently by transforming the Equation You will need the function sqrt which is defined in
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
