Download C Program For Convolutional Code

08.01.2020

Sorry for the delay.Can anybody give me an small example? Using the convolution of matrices (i'm not asking for the answer) so maybe that can be more helpfulYou have two arrays of values which you are convolving together. For the sake of example, assume they are one-dimensional, though higher dimensions work the same way. One of the arrays is typically much larger than the other. The one which is larger is called the 'signal', by convention. The smaller one is called the 'kernel'. To convolve them, you take the kernel and slap it down on top of the signal somewhere.

You take the dot product of the two, this produces a result. This is one data point of the convolution.

Download C Program For Windows

ForDownload C Program For Convolutional Code

Now you slide the kernel to the right (or left, whatever) by one sample, and do it again. That produces the next data point. And so on, until the kernel 'slides off' the end of the signal.There are details that I won't go into, such as the kernel is the time-reversed impulse response of the filter, the length of the result is N + M - 1 where N is the signal length and M is the kernel length, etc. Since this is a programming assignment, I assume that those particular details are not really the point of the assignment.The biggest hint that I can give you is that you are going to need one loop nested inside another loop.

Comments are closed.