Friday, April 22, 2016

Convolution and Correlation Algorithms

This experiment involved all the topic we had studied in Sem 5 Signals and Systems
They were done as follows:
1. Linear Convolution
L and M values were taken with L=5 and M=4. The output was stored in y(n) and the length of the op signal was calculated in the program as N=LM-1.

2.Circular Convolution
It was implemented using different values of N. Aliasing effect was observed in circular convolution.
Also Linear using circular convolution was done for L=4 and M=3. The length of the op signal was calculated as N=L+M-1.

3. Correlation
Correlation was studied with L=4 and M=3. The length of the op signal was calculated as N=L+M-1.
The output was in the form of palindrome when the signals were same. It can be used to find error in the signal. The op of correlation as both sided.


https://drive.google.com/file/d/0B9zlXLFfOipjc3Q5QXdrMzVxQk0/view?usp=sharing
https://drive.google.com/file/d/0B9zlXLFfOipjem5abGNOTG9KY2s/view?usp=sharing
https://drive.google.com/file/d/0B9zlXLFfOipjTFRjUWFFWVAzVzA/view?usp=sharing
https://drive.google.com/file/d/0B9zlXLFfOipjR0JmN3FkQzBwclk/view?usp=sharing

5 comments:

  1. please mention about the aliasing error

    ReplyDelete
  2. Aliasing error is an interesting phenomena, i agree with bangera, mention about it.

    ReplyDelete
  3. In circular convolution aliasing takes place where-in the last few values gets aliased with the starting values of the output signal.

    ReplyDelete
  4. Correlation compares two signals while convolution is used to get output of filter.

    ReplyDelete
  5. Correlation compares two signals while convolution is used to get output of filter.

    ReplyDelete