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

  How we can implement a cardiac machine simulator in c++

Keep track of the bug location; which could be an index into the memory array. Watch out for cells 0 and 99; they are special. Read the input tape from a file that starts with a number telling you how various items are on the tape.

  Health care services

Compare and contrast the cost-effectiveness, benefit-cost, and cost-utility analysis and find which is most useful to assess value of the health care services overall.

  Developing the secure dmz environment

You will require developing a secure DMZ environment in order to accomplish this task. Generate a drawing of this environment utilizing the Power point, and display the following interconnected elements.

  What would be well suited for a neural network

Research the features of Cisco Meeting Place and evaluate them to Microsoft's offerings. What hardware is required to implement Cisco's product.

  Clarification may be offered to clear up that confusion

Why do people confuse the World Wide Web with the Internet. What clarification could be offered to clear up that confusion.

  Differences between the java programming languages

What are the main differences between the Java programming language and the language discussed

  Define class method to initialize class data members

compute the salesperson's total commission earned as 10 percent of each sale amount and accumulate a running total commission for each individual.

  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.

  Make gui application that a clerk can use to choose services

Create a GUI application that a clerk can use to select services and that will total and display the charge for a customer's visit to the Automobile Maintenance Service.

  Too much control is counter-productive define

"Too much control is counter-productive." Do you agree? Provide reasoning of the view.

  How to prepare a two to three page memorandum

make a two to three page memorandum (350 words per page, from you to me) describing what office automation and group collaboration software is used in your organization.

  Concept of software integration

Explain how hospitals, manufacturing, retailing, education, construction, agribusiness, and shipping are improving efforts with their supply chain through the evolution of software.

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