Compute the ensemble mean and standard deviation, Electrical Engineering

Assignment Help:

Write three m ?les to generate M ensemble members of length N, for the following three random processes:

i) function v=rp1(M,N);

a=0.02;

b=5;

Mc=ones(M,1)*b*sin((1:N)*pi/N);

Ac=a*ones(M,1)*[1:N];

v=(rand(M,N)-0.5).*Mc+Ac;

ii) function v=rp2(M,N)

Ar=rand(M,1)*ones(1,N);

Mr=rand(M,1)*ones(1,N);

v=(rand(M,N)-0.5).*Mr+Ar;

iii) function v=rp3(M,N)

a=0.5;

m=3;

v=(rand(M,N)-0.5)*m + a;

Try to understand what kind of signal each process generates and thereby decide which process is ergodic and/or stationary.

- Compute the ensemble mean and standard deviation for each process and plot them as a function of time, using 100 members each of length 100, for each process. Comment on the stationarity of each process.

- Generate 4 members of length 1000 of each process, and measure the mean and standard deviation of each member. Hence comment on the ergodicity of each process.

- Write the mathematical description of each of the three stochastic processes. Calculate the theoretical mean and variance for each case and compare the theoretical results with those obtained by the measurements.

c) Repeat a) but with the randn function which generates a random signal with theoretical ly zero mean and unity standard deviation.

d) The autocorrelation function for a statistically stationary random discrete signal may be calculated from

1922_Compute the ensemble mean and standard deviation.png

More formally, the discrete signal is implicitly being assumed to be autocorrelation ergodic, that is, the nature of the random signal x is such that the discrete samples themselves can be used to calculate the autocorrelation function. In a real application, only a ?nite number of samples, N, of x will be available and, therefore, it is necessary to make an assumption upon unknown values of x. Usually, these are assumed to be zero. An unbiased estimate of the autocorrelation function can be calculated from

137_Compute the ensemble mean and standard deviation1.png

Notice that from a length N vector x,a(2 - 1) length estimated autocorrelation function is obtained.

- Employ the xcorr(x,'unbiased') function within MATLAB to calculate the unbiased estimate of the autocorrelation function for a length 1000 random signal generated with the randn function. Display and explain the result, i.e. is it symmetric and, if so, about which point? Use k = -999:999 for the x axis.

Note: To understand the symmetry in the autocorrelation function, draw a simple ?nite random continuous wave (wave ); below that draw the same wave with a time shift (wave ); below that draw the same wave with time shift - (wave ). Compare the common non-zero regions between and , and the common non-zero regions between and . It is seen that the multiple of the two waves in both non-zero regions is the same.

- Explain what is happening at large | T |

Hint: What happens to the number of non-zero terms on the rhs of the equation? Use the axis command to concentrate upon the region | T | 50. Notice the autocorrelation function is essentially zero for non-zero shifts. This is a fundamental property of such a random signal, that is, the autocorrelation function reveals that there is no correlation between shifted versions of x. In practice, this means that for such a random signal, knowledge of one signal sample has no bearing on any of its past or future values.

The samples are said to be uncorrelated.

In theory, a purely random signal will have an autocorrelation function which is a discrete delta function. This shows that there is no correlation (i.e. similarity) between the random signal and a shifted version of it.


Related Discussions:- Compute the ensemble mean and standard deviation

Can you explain octal to binary conversion, Q. Can you explain Octal to Bin...

Q. Can you explain Octal to Binary Conversion? It is also simple to convert from an integer octal number to binary. This is completed by: Convert the decimal number

Measuring equipment of ac-dc voltage and waveforms, Procedures and methods ...

Procedures and methods of the experiments A).      In order to measure the true RMS values of the currents and voltages, students used the true RMS multimeter. It requires two

Find the sending end voltage and sending end current, A 3-phase transmissio...

A 3-phase transmission line is 200km long. The line has a per phase series impedance of 0.25+j0.45 Ω/km and shunt admittance of j7.2 μS/km. The line delivers 250MVA, at 0.6 lagging

Determine the output voltage, Q. An inverting amplifier is designed with th...

Q. An inverting amplifier is designed with three inputs, v 1 , v 2 , and v 3 , as shown in Figure. Determine the output voltage. Then indicate how the circuit may be modified to pe

OC AND SC TEST OF AN ALTERNATOR, WRITE THE PROCEDURE CONDUCT OC AND SC TEST...

WRITE THE PROCEDURE CONDUCT OC AND SC TEST OF AN ALTERNATOR TO FIND SYNCHRONOUS IMPEDENCE

Define multiplexing, 1 Explain the advantages and disadvantages of optical ...

1 Explain the advantages and disadvantages of optical fiber versus copper Medium of communication 2 Define multiplexing. Explain TDM 3 Describe the protocol architecture and

Explain kirchhoff current law, Q. Explain Kirchhoff current law? The ba...

Q. Explain Kirchhoff current law? The basic laws that must be satisfied among circuit currents and circuit voltages are known as Kirchhoff 's current law (KCL) and Kirchhoff 's

What do you mean by counters, Q. What do you mean by Counters? The shif...

Q. What do you mean by Counters? The shift register can be used as a counter because the data are shifted for each clock pulse. A counter is a register that goes through a pred

Governer, governer characteristics

governer characteristics

Determine the current and voltage for n-channel jfet, Q. An n-channel JFET ...

Q. An n-channel JFET with A = 300 V, P = 2 V, and I DSS = 10 mA is to be operated in the active mode. Determine i D when v DS = 10 V and v GS =-0.5V.

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd