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

Reviews

Write a Review

 

Computer Engineering Questions & Answers

  For benefit of upper management that is non-technical

What edition of Windows 2003 server would you use for your domain controller? If you required four way clustering for Sherrill's Web server, what edition of Windows Server 2003 would you use.

  Determining time complexity

Specify the function of procedure DOES SOMETHING? What is the time complexity of the procedure?

  Explaining troubleshooting

AV software has removed the malware from highly infected system. After first reboot, an error message is showed which consists of a reference to the strange DLL file which is missing. Explain two options you must use in order to start troubleshoot..

  What are three goals of safety in computing?

What are three goals of safety in computing?

  Explain how to compile and run a standalone java application

Write a simple Java program that incorporates as a minimum three best practices for making your code readable and understandable by yourself and others.

  Make a gui based program with a writebutton

make a GUI Based program with a WriteButton used to write data to a sequential data file. Then make another ReadData button to read data from the file created and display it in a JTable on the GUI.

  The employee and the weekly pay amount

make a non-GUI based Java application that calculates weekly pay for an employee. The application should display text that requests the user input the name of the employee, the hourly rate, and the number of hours worked for that week.

  What changes will you suggest for hydro-quebec and why

explain the external factors and internal factors affecting change in IT management at Hydro-Quebec.

  Create a function definition called addarray

Write down a function definition called addarray that takes two parameters- one an array as an int and the other an int that contains the number of elements of the array. The function would return the sum of the number of elements of the array as ..

  Compute integral of n-order polynomial using simpson''s rule

The user shall be able to define that integration technique they want to use (They should also have the option to run both integration techniques in one execution)

  Design a chart that showing input, output, and processing

Design a  chart that showing input, output, and processing

  What are the kinds of information systems

What are the kinds of information systems

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