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

  Examine the importance and purpose of of n-tier systems

Examine the importance and purpose of of n-tier systems

  Enterprising the data mining and data warehousing

Discuss the most proficient ways in which an organization may invest in enterprising the data mining, data warehousing, and the data analytics capabilities.

  Determining average degree of vertex

For the random geometric graph, G(n, r), determine the average degree of the vertex: At least distance r from the boundary,

  Assuring the snmp security

Create an argument for modifying to the other version or staying with v1 and forming the essential modifications to assure the SNMP security the v1 requires.

  Application showing files name-size and last modifiaction

Make a file by utilizing any word-processing program or the text editor. Write down an application which shows the file's name, size, and time of the last modification.

  What do mean by digital stratigraphy

What is digital stratigraphy? Give an instance to illustrate how digital stratigraphy is important in the field of Computer Forensics.

  Create a shadow on phrase html5 canvas

Create a shadow on phrase "HTML5 Canvas"

  Maintenance tracking application for an apartment complex

I dentify 3 variables, along with their types, that I would use in my program. Give a brief description of the variables and see if it contains any reusable components, if so, I am to mention that it does.

  How to handle the customervalidator''s servervalidate event

Write down a method that handles the CustomerValidator's ServerValidate event. In addition, write a JavaScript function for the CustomValidator's CustomValidationFunction property.

  Dtproperties and sysdiagrams

Exclude the tables “dtproperties” and “sysdiagrams”. List the column CountOfTable, in which the Table is the chosen table name.

  What steps and tools are available for you to protect

What steps and tools are available for you to protect your family (especially your children) from these internet dangers?

  Transcripting the case

The CTO of organization that has requested your services would like for your forensics team prepare a transcript of what you could state to CTO.

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