Friday, 22 April 2016

Exp-1 Linear,Circular, Correlation

First day at DSPP lab.These were some of the topics which we had learnt in signals and systems in the previous sem. Programming of this was done using c language. All the programs included a standard layout i.e. taking inputs and printing the output in the main function. The concept of linear, circular, and correlation was implemented in their respective functions. 
In linear convolution, we took x(n) (length M) and h(n)(length N) values and obtained y(n) of lenth L+M-1.
In circular convolution, we took x(n)  and h(n) of each N length. We changed the values of N for different cases (zero padding). We came across Aliasing(end terms got added to the first term ).
For correlation, output was both sided. In auto-correlation, the output was an even signal. 
The first experiment took quite a bit of time since it included many programs.Different codes had to be done for linear, circular and correlation in one experiment. Took a couple of weeks,but we got the hang of programming after this. 
The codes can be found at: 
https://drive.google.com/open?id=0Bzfvoo_rjoa8S19TN2V1SE9kckk

5 comments:

  1. This first experiment of DSPP in C took us lot time to perform.

    ReplyDelete
  2. The length of correlation is also L+M-1

    ReplyDelete
  3. We performed different cases of correlation which cleared my concept of correlation

    ReplyDelete
    Replies
    1. yes, we did cross delayed correlation and delayed auto correlation

      Delete
  4. In digital signal processing, convolution is used to map the impulse response of a real room on a digital audio signal

    ReplyDelete