Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

1. Identify three approaches to culture.

Answered: 1 week ago

Question

2. Define communication.

Answered: 1 week ago

Question

4. Describe how cultural values influence communication.

Answered: 1 week ago