MathGroup Archive 2007

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

Search the Archive

Re: 2D Convolution

  • To: mathgroup at
  • Subject: [mg76141] Re: 2D Convolution
  • From: CKWong <CKWong.P at>
  • Date: Wed, 16 May 2007 05:52:28 -0400 (EDT)
  • References: <f29389$m7p$><f29bko$pjn$>

g should be the kernel in the function

Convolve[f_, g_, x_?NumberQ, y_?NumberQ] := NIntegrate[f[
    xPrime, yPrime] *g[x - xPrime,
  y - yPrime], {xPrime, -=A1=DB, =A1=DB}, {yPrime, -=A1=DB, =A1=DB}]

Sorry for the snafu.

  • Prev by Date: Re: Solve & RotationMatrix
  • Next by Date: Ellipse equation simplification on Mathematica:
  • Previous by thread: Re: 2D Convolution
  • Next by thread: Re: 2D Convolution