DSPRelated.com
Forums

Linear Convolution in DSP 5502

Started by arav...@gmail.com February 5, 2009
Hello,
I am using DSP TMS320VC5502. I want to find linear convolution of two arrays. The first array XArray contain 5000 elements and the second array HArray contain 200 elements. I need a resultent array YArray which is the linear convolution of the two input arrays. The YArray should contain 5199 elements. I tried the library function

convol2 (XArray, HArray, YArray, 5200,200)

But here we are doing circular convolutio and the resultant array contains only 5200-200= 5000 points. How can we find linear convolution by making use of this circular convolution? Is there any other function or algorithm to find Linear convolution.........?Pls help...

Regards
Aravind
Hi Aravind,

conversion of circular convolution to linear convolution is clearly given in
the book Digital signal processing by Ramesh babu. I hope it helps you.

Regards,
Chandrakala.

On Thu, Feb 5, 2009 at 8:22 PM, wrote:

> Hello,
> I am using DSP TMS320VC5502. I want to find linear convolution of two
> arrays. The first array XArray contain 5000 elements and the second array
> HArray contain 200 elements. I need a resultent array YArray which is the
> linear convolution of the two input arrays. The YArray should contain 5199
> elements. I tried the library function
>
> convol2 (XArray, HArray, YArray, 5200,200)
>
> But here we are doing circular convolutio and the resultant array contains
> only 5200-200= 5000 points. How can we find linear convolution by making use
> of this circular convolution? Is there any other function or algorithm to
> find Linear convolution.........?Pls help...
>
> Regards
> Aravind
>
>
Hello,
> I am using DSP TMS320VC5502. I want to find linear convolution of two arrays. The first array XArray contain 5000 elements and the second array HArray contain 200 elements. I need a resultent array YArray which is the linear convolution of the two input arrays. The YArray should contain 5199 elements. I tried the library function
>
>convol2 (XArray, HArray, YArray, 5200,200)
>
> But here we are doing circular convolutio and the resultant array contains only 5200-200= 5000 points. How can we find linear convolution by making use of this circular convolution? Is there any other function or algorithm to find Linear convolution.........?Pls help...
>
>Regards
>Aravind
Thanks yar............
i have done the linear convolution through circular convolution by padding Zeros in the Xarray.But the zero should be inserted at the begining of the array.(In theory from "Ramsh babu" the zero should be insetred at the end..)
Regards
Aravind.