Question: 2 . 7 The central limit theorem states that if random variables x i , 1 i n , are i . i . d

2.7 The central limit theorem states that if random variables xi,1in, are i.i.d.
(independent and identically distributed), with finite mean and variance, and n is large,
then their average (i.e.,Y=1ni=1nxi) has roughly a Gaussian distribution. This
theorem explains why thermal noise generated in electric circuits has a Gaussian dis-
tribution. In this problem we verify this theorem using MATLAB.
a. Using MATLAB, generate a vector x of length 1,000,000 whose components
are uniform random variables distributed between 0 and 1. The components of
this vector are the xi's in the central limit theorem. (Use MATLAB command
"rand" to generate the sequence.)
b. Find the average of every 100 consecutive elements of x and generate the se-
quence y of length 10,000. So,Y1 is the average of x1 through x100,Y2 is the
average of x101 through x200, and so on.
I need to matlab code
 2.7 The central limit theorem states that if random variables xi,1in,

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!