Convolution and its types were studied in the previous semester. This experiment was all about brushing up our old skils of c language and the topic itself.
The experiment required us to take a signal x(n) and impulse response h(n) and find the output signal y(n) using correlation and convolution techniques. There are 3 cases in this experiment namely for linear and circular convolution and other for auto correlation. We take x(n) and h(n) of lengths L and M respectively for linear convolution. For linear convolution the value was stored in y(n) with its length as N=L+M-1.Circular Convolution was done by taking x(n) and h(n) both of length N. Correlation was implemented by taking values of L,M, x(n) and h(n).
This experiment took some time because of various programming techniques to be learnt and executed.
codes:
for circular convolution we take higher value of N from x(n) and h(n)
ReplyDeleteAs we do zero padding the resolution increases and approximation of error decreases.
DeleteThanks for sharing this info Umesh.
ReplyDeleteCorrelation is used to find how much similar two signals are. An example of this is the RADAR system which compares the transmitted and the echoed signal that is reflected by the target.
ReplyDeleteIt is also used in security in multiple intrusion detection system
DeleteGreat that you could brush up on so many programming techniques in 3 hours and still be on time. Kudos
ReplyDelete