Give the relationship of correlation to convolution

Assignment Help Computer Engineering
Reference no: EM1333195

Write and verify a computer program to perform the convolution of two discrete signals.

[1] The convolution program should be written as an m-file able to handle two general discrete signals. The M-file will be ain function file format, it will take two inputs sin1, sin2, and return an output sout.

sin1, sin2: can be row or column vectors of any length
sout: will be a row vector (length is determined by input vectors)

Ex:
function sout=convolution(sin1,sin2)
{
%put your code here with comments
}
2. Test with the following signals:
(Plot all results -> use the stem command)

Case 1:
h(n)=1 for 1<n<4
x(n)=1 for 1<n<4
Case 2:
h(n)=1 for n=1,2,...10
x(n)=(1/2)^n-1 for n=1,2,...20

All functions equal zero in regions not defined above. Use MATLAB conv function to verify your program.

3. Similiar to convolution is an operation known as correlation. This operation is used in signal analysis to determine the similiary between two signals. Explore the functionality of correlation through the use of MATLAB xcorr command. Plot the results of xcorr for the two cases provided above. What is the relationship of correlation to convolution?

To me it seems that convolution is autocorrelation because I worked an example by hand. Please comment the program so that I can see how it is done.

Reference no: EM1333195

Questions Cloud

Create m-file to calculate the future value : Write down M-file to calculate the future value of an initial investment, or the amount that needs to be deposited annually to reach future investment goal.
Capm-required rate of return of portfolio : A money manager is holding the following portfolio: What would be the portfolio's required rate of return following this change?
The main aspects of the internship : Discuss  the main aspects of the internship as a vehicle of learning in your job.
Effect on operating profit if housing has purchased : What would be the effect on operating profit if it purchased rather than made the housings? Show your calculations.
Give the relationship of correlation to convolution : The convolution program should be written as an m-file able to handle two general discrete signals. The M-file will be ain function file format, it would take two inputs sin1, sin2, and return an output sout.
Selection of jury : What if your client has received negative media attention, is it still possible for him to receive a fair trial or will the jury ultimately be biased against him?
Information about capital-asset-pricing model : Suppose the capital-asset-pricing model holds. Based on the CAPM, what is the risk-free rate? What is the expected return on the market portfolio?
Define human resource management : Define human resource management and What is the primary function of human resource management
Compute mean, standard deviation and cv of sales : Compute mean, standard deviation & CV of sales. The demand for MICHTEC's products is related to the state of the economy.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Securing the web passwords

Describe how the Web passwords can be more secure. Give examples and/or details in order to support your ideas.

  Ai and intelligent agents supporting knowledge management

Explain how the AI and intelligent agents provide support to the knowledge management. Explain it in the 1 paragraph with source.

  Problem on network design

You're asked to design a network for use in the training environment. It should be mobile, easy to set up, and simple to tear down. Speed is not an issue. Develop the network design that accommodates these requirements and keeps costs down.

  Examine the behavior of airfoil

Write HW assignment written in Matlab airfoils have different C mc/4

  Knowledge management systems

Explain why the knowledge management systems could be so significant to the modern organization where organization could initiate such systems and for this initiative.

  Write down one method containing string manipulations

Program should include a method for each element. Write one method containing String manipulations, one that includes if-else statements, and one that includes a switch.

  Create a program which contains a function called sumn()

Create a program which Contains a function called sumN().

  The hard drive will the original query take

suppose (somewhat artificially) that RAM can hold 200 rows and devotes half of that to reading one table and half to reading the other table and has "other places" to store the subquery/query results.

  Encrypt and decrypt the message using the caesar cipher

The cipher that Caesar used is simple technique to replace each letter of alphabet with the another letter further down the alphabet for lowercase and uppercase. Encrypt and decrypt the message using the Caesar cipher with (K=3) in Java.

  Constraint programming

It is about the constraint programming. We have party organizations for being social. Each participant has their own preference list for parties, every party organizers has their own preference list for providing the parties.

  Write down a java implementation

Write down a Java implementation

  Find out the level and commission using the table

Write down a c++ program that accepts the name and sales of a salesperson. Using IF statement, determine the level and commission using the table.

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