convolution

Started by monu1794 July 15, 2008
Hi all,

I need to convolve a sine wave with random signal. I made use of the conv
function in matlab. I am expecting a dual-dirac histogram for the resulting
convolution. But I keep getting the gaussian histogram of the random signal
as the result of the convolution. Can anyone suggest a proper code for
performing the convolution between them?

Thanks,
Nitin


Nitin wrote:
> Hi all, > > I need to convolve a sine wave with random signal. I made use of the conv > function in matlab. I am expecting a dual-dirac histogram for the resulting > convolution. But I keep getting the gaussian histogram of the random signal > as the result of the convolution.
Perhaps you should reconsider your expectations? Regards, Andor
On 15 Jul, 17:26, "monu1794" <monu1...@gmail.com> wrote:
> Hi all, > > I need to convolve a sine wave with random signal. I made use of the conv > function in matlab. I am expecting a dual-dirac histogram for the resulting > convolution. But I keep getting the gaussian histogram of the random signal > as the result of the convolution. Can anyone suggest a proper code for > performing the convolution between them?
You asked the same question at comp.soft-sys.matlab yesterday. Asking the same question again to different people will not change the fact that you need to learn the properties of the maths tools you try to apply. Again: Find out the difference between a Dirac delta and a Kronecker delta, and you are half-way to finding out why you will never get the results you expect. Rune
On Jul 15, 8:26 pm, "monu1794" <monu1...@gmail.com> wrote:
> Hi all, > > I need to convolve a sine wave with random signal. I made use of the conv > function in matlab. I am expecting a dual-dirac histogram for the resulting > convolution. But I keep getting the gaussian histogram of the random signal > as the result of the convolution. Can anyone suggest a proper code for > performing the convolution between them? > > Thanks, > Nitin
what kind of random signal you are using. With these random signals one should always take ensemble averages.
monu1794 wrote:
> Hi all, > > I need to convolve a sine wave with random signal. I made use of the conv > function in matlab. I am expecting a dual-dirac histogram for the resulting > convolution. But I keep getting the gaussian histogram of the random signal > as the result of the convolution. Can anyone suggest a proper code for > performing the convolution between them? > > Thanks, > Nitin > >
Hey Nitin, I don't have access to a copy of matlab at the moment, but if you show me your code, I might be able to find a bug in it. No promises though ;-) -WS