Implementation of the levinson-durbin algorithm

Assignment Help Other Engineering
Reference no: EM132398410

Assignment: Linear Prediction

1 Objectives

You are uniquely given a random signal generated from the following auto-regressive (AR) model

xn + ΣPi=1 aixn-i = wn (1)

where wn is a zero-mean white noise. The order of the above AR model is also unknown but is an integer between 6 to 10, inclusive. You are given the sequence xn and your objective is to estimate the coefficients ai's, the noise power and make comments on the order of the model. This assignment is based on Lecturer 5 (Power Spectrum Estimation - Parametric Methods).

Task

1. Download the file ‘generateSignal.p'.

2. In Matlab, run the command generateSignal(yourstudentID,N) to generate the random signal (i.e. xn in (1) above) that is unique to you, where N is the number of samples that you want to create. For example, if you student ID is 1234567 then the command generateSignal(1234567,1000) will generate a vector of 1000 samples of the sequence xn.

3. For a given p (e.g., p = 6) and N, and do the following

(a) Use the biased estimator (i.e. Equation (10) in Lecture 5) to estimate the auto- correlation function r(k) of the sequence for k = 0, 1, 2, ..., p.

(b) Compare your results with the built-in xcorr function in Matlab. Note that the xcorr function cannot be part of your method.

(c) From the estimated autocorrelation functions, compute the estimated coefficients ai's and the noise power (cf. Equations (6) and (7) in Lecture 5). You are allowed to use the toeplitz function to create the autocorrelation matrix. Compare the three following methods of calculating the estimated coefficients ai's:

i. Use the command A\b to solve the system Ax=b where A is the autocorrela- tion matrix and b is the cross-correlation vector.
ii. Use the built-in levinson function.
iii. Write your own implementation of the Levinson-Durbin algorithm.

After verifying all three methods produce the same results, you can choose one of them for the rest of the assignment.

(d) Compare your obtained result in Task 3(c) with that return by the built-in lpc function in Matlab. Again the lpc function cannot be part of your method.

(e) From the estimated coefficients ai's and the noise power, compute and plot the power spectral density of the signal. Compare your results with the built-in pwelch function and make your comments.

4. Repeat Tasks 3(a),3(c), and 3(e) for different p and N, and comment on the obtained results.

5. Run the following piece of code:

Use your method developed 3(a) to estimate the autocorrelation function of x and compare the result with r. Explain why the above piece of code can be used to estimate the autocorrelation function of a given signal, using supporting equations (Include the scanned pdf file with your workings in the report). From this, suggest an efficient way to estimate the autocorrelation function of a very long sequence. A bonus of 2 grade points is given if you can demonstrate your suggestion by a correct implementation.

Attachment:- Linear Prediction.rar

Verified Expert

So we have a file provided by a professional, at the start we have generated 1000 sample which we just simple write there in command window and then hit the enter so our samples could be seen over,after that we were to able to apply cross correlation in MATLAB live script and we seen there in same window all the graph and command window could be seen together,then with the help toeplitz function we able to find A/B, And hence applied Levinson-Durbin algorithm we able to code and then we compare the results,which we see the one was linear and other was non linear,which basically help us to compare linear prediction.

Reference no: EM132398410

Questions Cloud

Positives and negatives of three ratios : What are the positives and negatives of these three ratios, price to earnings, price to sales and price to book if being used to dictate a stocks future perform
What do you notice about the color of the cell sand : What do you notice about the color of the cell sand how they change and What do you think might cause the cells to appear different
What is the expected return on the stock : (a) What is the expected return on the stock if you buy today and sell next year? (b) What is the expected standard deviation of the stock?
What are the fund cash assets after the sale : A mutual fund has $1 million in cash and $4 million invested in securities. It currently has 2 million shares outstanding.
Implementation of the levinson-durbin algorithm : Linear Prediction - Write your own implementation of the Levinson-Durbin algorithm and compute and plot the power spectral density of the signal
Discuss what dap means to you in brief : The term developmentally appropriate practice has been used in several chapters in this book but especially in this chapter. Discuss what DAP means to you.
Which structure are you more familiar with : There are a variety of family structures discussed in this book. Which structure are you more familiar with? Which do you know the least about?
Develop a journal to collect print and electronic resources : Develop a journal to collect print and/or electronic resources that are specific to the discipline of adult education and training. You will add to this journal
Create a poster of learning processes : Create a poster to serve as a classroom quick-reference for students that illustrates the three learning processes. Include the following information for.

Reviews

Write a Review

Other Engineering Questions & Answers

  Question 1 a water tower has been cleaned with a chlorine

question 1 a water tower has been cleaned with a chlorine solution and the chlorine vapors in the tower exceed the

  Convert all of the values given in this example from si

Convert all of the values given in this example from SI units to U.S. Customary units.

  What is the cross correlation sequence

What is the cross correlation sequence of the sequences - What is the auto correlation of the sequence.

  Give the three representations of a not gate

Give the three representations of a NOT gate and say in words what NOT means. Give the three representations of an OR gate and say in words what OR means.

  Implementation of new risk factor controls issues

What type of follow-up is performed after a loss in order to quickly assess the root causes of the problem?

  Design process on customer relationship and requirements

Understanding of hydraulic transmission principles and the aircraft applications for hydraulic power - explore the design process and how it is applied

  What is the minimal cost for the product

SIT718 Real world Analytics Assignment - Briefly explain each transformation for your selected variables and the variable of interest

  Describe the operations of the colpitts oscillator circuit

Describe the operations of the Colpitts oscillator circuit and explain how it helps in generating clean sinusoidal output? How does the two diodes help in providing linear input to the voltage follower circuit?

  Introduction of the electrooculogram

Introduction of the electrooculogram (EOG). - theory and usage

  Plot the days to pay off the turbine

Plot the days to pay off the turbine versus the percentage the wind turbine is on. Create functions to: convert from kw to dollars, calculate the amount

  Limitations of utilizing op amps to simulate inductors

Discuss some limitations of utilizing op amps to simulate inductors. Include some reasons why op amps are ideal for the construction of graphic equalizers.

  Draw a picture of the complete production line

ME502: Programmable Logic Controllers Assignment - Engineering Institute of Technology, Australia. Draw a picture of the complete production line

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