Be the first to rate this file! 11 Downloads (last 30 days) File Size: 1.63 KB File ID: #13133

convolution explained in detail

by sri hari bhupala haribhakta

 

27 Nov 2006 (Updated 27 Nov 2006)

myconv

| Watch this File

File Information
Description

function y = myconv(x,h)
 This function evaluates the convolution of two finite sequences using the matrix notation.
 This follows from simple matrix multiplication which we do in our high school
 For example let us try to find the product of two numbers x = 2343 and h = 224
 The product turns out to be y1 = 524832
 Then how is it same as convolution?
 yes here's the trick!!!
 let us analyse the product more elobarately
                    2343 * 224
                    --------------
                    0009372
                    0046860
                    4686000
                    --------------
                    524832
                    --------------
 This is ordinary multiplication. To do convolution, when we multiply do not carry the result after multiplication as we do in ordinary
 multiplication. For example in the first row of the above example, we got 2343 * 4 = 9372. Instead write it as [2 3 4 3] * 4 = 8 12 16 12. Repeat this process for all the rows and finally add them as usual. i.e.,
                    2343 * 224
                 --------------------
                  0 0 8 12 16 12
                  0 4 6 8 6 0
                  4 6 8 6 0 0
                 --------------------
                  4 10 22 26 22 12

 which is same as conv(x,h)

MATLAB release MATLAB 7.0.1 (R14SP1)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
dsp sri hari bhupala haribhakta 22 Oct 2008 08:50:23
myconv sri hari bhupala haribhakta 22 Oct 2008 08:50:23
convolution sri hari bhupala haribhakta 22 Oct 2008 08:50:23
explained sri hari bhupala haribhakta 22 Oct 2008 08:50:23
finite sequences sri hari bhupala haribhakta 22 Oct 2008 08:50:23
signal processing sri hari bhupala haribhakta 22 Oct 2008 08:50:23
d sri hari bhupala haribhakta 22 Oct 2008 08:50:23

Contact us at files@mathworks.com