Monday, 13 March 2017

DSPP Experiment 1 : Convolution and Correlation Algorithms

Convolution involves finding output of a Linear Time Invariant system. Correlation provides degree of similarity between  two signals.
The user inputs the signals x(n) and h(n).

To find convolution, the length of the signals are calculated to be L and M respectively. Thus, the length of output signal is given by
1. L= N + M - 1 For linear convolution
2. L= Max(N, M) For circular convolution
3. L >= N + M - 1 For linear convolution by circular convolution

To find correlation, the output y(n) is an even signal i.e. y(n)=y(-n). 
1. If the input signals are delayed, the output does not change. 
2. If we try cross correlation of a signal with its delayed self, we get a result that is an advanced signal from the auto correlation output.

16 comments:

  1. Any comparison between these two methods?

    ReplyDelete
    Replies
    1. These are totally different techniques with specif application

      Delete
  2. Both methods convolution and correlation are used for different applications as mentioned in the first line of the blog. Thanks!

    ReplyDelete
  3. Correlation has application in radar, speech recognition etc.

    ReplyDelete
    Replies
    1. Yes, correlation can be used to check the similarity between two signals

      Delete
  4. These are important operations in signal processing

    ReplyDelete
    Replies
    1. Yes, these operations have a lot of applications

      Delete
  5. Convolution is used to find output.

    ReplyDelete
    Replies
    1. Yes, convolution is obtained by multiplication in transorm domain

      Delete
    2. You're right, convolution is simpler in transfer domain than in time domain

      Delete
  6. Correlation is used to find degree of similarity

    ReplyDelete
    Replies
    1. Yes, Correlation has applications in radar, speech recognition etc.

      Delete
  7. Basic code can be enhanced by introducing new functions and new operations can be performed

    ReplyDelete
  8. Correlation is used in Radar system for obtaining target location

    ReplyDelete
  9. Convolution can be used to compute the output of a signal

    ReplyDelete
  10. Correlation is used for signal comparison applications.

    ReplyDelete