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

  Characterization technology for nanomaterials

Calculate the reciprocal lattice of the body-centred cubic and Show that the reciprocal of the face-centred cubic (fcc) structure is itself a bcc structure.

  Calculate the gasoline savings

How much gasoline do vehicles with the following fuel efficiencies consume in one year? Calculate the gasoline savings, in gallons per year, created by the following two options. Show all your work, and draw boxes around your answers.

  Design and modelling of adsorption chromatography

Design and modelling of adsorption chromatography based on isotherm data

  Application of mechatronics engineering

Write an essay on Application of Mechatronics Engineering

  Growth chracteristics of the organism

To examine the relationship between fermenter design and operating conditions, oxygen transfer capability and microbial growth.

  Block diagram, system performance and responses

Questions based on Block Diagram, System Performance and Responses.

  Explain the difference in a technical performance measure

good understanding of Mil-Std-499 and Mil-Std-499A

  Electrode impedances

How did this procedure affect the signal observed from the electrode and the electrode impedances?

  Write a report on environmental companies

Write a report on environmental companies

  Scanning electron microscopy

Prepare a schematic diagram below of the major parts of the SEM

  Design a pumping and piping system

creating the pumping and piping system to supply cool water to the condenser

  A repulsive potential energy should be a positive one

Using the data provided on the webvista site in the file marked vdw.txt, try to develop a mathematical equation for the vdW potential we discussed in class, U(x), that best fits the data

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