MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Bug in Convolve, version 7



Hello,

convolution is commutative, f*g == g*f.

now consider the 2 calulations, where we simply exchange the first 2 

arguments of Convolve:



f = UnitBox;

Convolve[f[x1], f[x1], x1, x2]

Convolve[%, f[x2], x2, x3]

Convolve[%, f[x3], x3, x4]

Plot[%, {x4, -2, 2}]



f = UnitBox;

Convolve[f[x1], f[x1], x1, x2]

Convolve[f[x2], %, x2, x3]

Convolve[f[x3], %, x3, x4]

Plot[%, {x4, -2, 2}]



wheras the first calculation is correct, the second is obviously wrong.

Daniel



P.S. i tried this with version 7.0.1 and Windows




  • Prev by Date: Re: Show[list] does not work
  • Next by Date: Re: Difficulties with Re
  • Previous by thread: Interface to Documentation Center
  • Next by thread: Re: Bug in Convolve, version 7