Compute and plot the cross-correlation

Assignment Help MATLAB Programming
Reference no: EM131289406

Problem 1

Consider two digital sequences:

x(n) = an, if M ≤ n ≤ N

           0, Otherwise

y(n) = bnu(n)

Here, M and N are two positive integers, and a and b are two values in the interval (0,1).

a) Using the time-domain approach, determine the closed-form expression of the cross-correlation sequence rxy(l), i.e. rxy as a function of l.

b) Using the z-domain approach, determine the closed-form expression of the cross-correlation sequence rxy(l).

c) Suppose that M = 5, N = 20, a = 0.9, and b = 0.8. Use MATLAB to compute and plot the cross-correlation sequence rxy(l). Use plots to compare the results with the answers of part (a) and (b).

Problem 2

Consider the template signal that is being transmitted: s(n) = {1, -1,0, -1,1, -1,1}. The received signal x(n) is a delayed and noise-corrupted version of s(n):

x(n) = as (n - D) + w(n)

where w(n) is a zero-mean white noise sequence, and D is the time delay measured in number of samples.

a) Assume that D = 4, a = 0.8, and the white noise has variance equal to 0.25. Generate and plot the signal x(n) for 0 ≤ n ≤20.

b) Compute and plot the cross-correlation rxs(l) and determine the time delay of x(n).

c) Compute and plot the impulse response h(n) of the matched filter.

d) Compute and plot the response y(n) of the matched filter to x(n). Compare y(n) to rxs(l). Can you determine the time delay of s(n) from the output y(n) of the matched filter?

Attachment:- Report_Template.rar

Reference no: EM131289406

Questions Cloud

What is the average distance each dislocation has to move : If a dislocation source at the center of a grain emits dislocations under an applied shear stress of 50 MPa that pile up at the grain boundaries, what is the stress experienced by a grain boundary? Take G = 26 GPa and b = 0.3 nm.
What type of investment goals would be most appropriate : How would you rate the financial status of the Garners before the air conditioner broke down ?
What is the average inventory and the order point : A company stocks an SKU with a weekly demand of 500 units and a lead time of 4 weeks. Management will tolerate one stockout per year. If sigma for the lead time is 100 and the order quantity is 2500 units, what is the average inventory and the ord..
Characteristics of other post-retirement benefit plans : Identify and discuss the characteristics of other post-retirement benefit plans and discuss how they are similar and different from definted benefit pension plans. In addition, discuss how the accounting methods differ for other post-retirement plans..
Compute and plot the cross-correlation : Compute and plot the cross-correlation rxs(l) and determine the time delay of x(n) and compute and plot the impulse response h(n) of the matched filter.
Process to meet customer expectations : Describe how you will determine the capability of your process to meet customer expectations. Include sufficient detail to explain your data collection and analysis approach.
Which retailers signed the agreement : Write a brief report on the Bangladesh Accord on Fire and Building Safety proposed by Industrial. Which retailers signed the agreement, and why have some U.S. retailers refused to sign the pact?
Why should you reduce spending on credit before investing : Why should you reduce spending on credit before investing? Why shouldn't you carry large consumer debt and invest at the same time?
Systems flow chart for the purchase and payment processes : Jenny Smith owns Classic Photography Inc., a company that restores photos for its clients and creates electronic images from the restored photos. The company also frames restored photos and creates sophisticated custom artworks. Create a systems flow..

Reviews

Write a Review

MATLAB Programming Questions & Answers

  Design a filter that meets the required specifications

Design a filter that meets the above required specifications. Then try to design a better filter, according to the bonus specifications. Additional points will be added to that filter score, as indicated in the bonus specifications section.

  Where the two arrays are the coefficients of two polynomials

Compute the step response. This should be done analytically, but you can use Matlab commands like conv and residue to help you in the calculations. Where the two arrays are the coefficients of the two polynomials.

  Calculate the response of the system to a unit step input

Use the Matlab command conv to calculate the response of the system to a unit step input, x[n]=u[n]. Consider . Show what you type into the Matlab command window. Also, submit a plot of the output.

  Characterizing population of about countries

Select 10 features characterizing the population of about 100 countries. load it into Matlab. Normalize the data between 0 and 1. (min, max and minmax are some useful Matlab commands)

  Construct a matlab simulation of pulse sampling

Construct a Matlab simulation of pulse sampling and sample & hold for m(t) = cos(2t) andfs = 10.

  Calculate x - y using canonical forms parametric solution

Write a Sci/Matlab function that returns the function values and the Jacobian needed for Newton's method - show graphically how the intersection point of the two equations varies with p - Jacobian needed for Newton's method.

  Write a function called crazygrade

Write a function called CrazyGrade that will take in the string and flip the grades according to the specifications - Define the inputs and outputs to each problem

  Write a program that generates three random numbers

Write a program that generates three random numbers, each between 0 and 9. The three numbers are displayed and the message "You got Lucky Fours" will be displayed if at least two of the digits are 4.

  The function take optional arguments, theta, alpha, beta

the function tverskySim (found in problem4/tverskySim.m) takes optional arguments, theta, alpha, beta where theta is the weight assigned to the common features between a and b, alpha is the weight for the distinctive features of a, and beta is the we..

  Damped harmonic oscillator

Some systems show a marked change in behavior as parameters change. For example, a damped harmonic oscillator with exhibit over damped, under damped, or critically damped behavior depending on the values of mass, spring constant, and damping const..

  Write a matlab function newtonraphson

Write a MATLAB function newtonRaphson(fx, x0, sigfig, maxIT) that will return a root of the function f(x) near x=x0 using the Newton-Raphson method, where sigfig is the accuracy of the solution in terms of significant figures

  Calculate the distance between cities

Calculate the distance between cities

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