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

  Finite difference method

Use the finite difference method to calculate the temperature at the point specified since it is easier.

  Determine the necessary shell temperature

In a shell-and-tube heat exchanger, one fluid passes through a central tube while another fluid flows through an outer shell in the opposite direction. The purpose is to heat the fluid passing through the central tube.

  Find the integral of a function at an arbitrary location

Write a Matlab function to perform numerical integration of a set of evenly spaced data points using the trapezoidal rule

  Compute the speed of single-stage planetary gear train

Write a MATLAB function [speed] = planetary (N, emesh, first, last, arm) that computes the speed of a given link in a single-stage planetary gear train.

  Calculate and plot the error in the numerical derivative

Write a program to calculate and plot the error in the numerical estimate of the derivative.

  Create the graph using matlab functions

Create the graph, which contains a piecewise function where a line exists in the first interval, a parabola in the second interval, and the sine function in the third interval.

  Develop a simulation program

Develop a simulation program

  Create a vector in matlab

Create a three dimensional diagram of function.

  Open a named pipe and to read data from the pipe

Open a named pipe and to read data from the pipe in matlab

  Write the commands that will create the matrix

Write the commands that will create the matrix.

  Lagrange interpolating polynomial of degree

Lagrange interpolating polynomial of degree

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