MathGroup Archive 2007

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

Search the Archive

Hole/Disk function

  • To: mathgroup at smc.vnet.net
  • Subject: [mg76024] Hole/Disk function
  • From: Mathieu G <ellocomateo at free.fr>
  • Date: Tue, 15 May 2007 04:45:55 -0400 (EDT)

Hello,
Is there a better way to define a Disk/Hole function than that?:

DHole[x_, y_] := If[Sqrt[x^2 + y^2] <= HoleSize, 1, 0];

I would like to use it for a convolution using the definition as shown 
in http://oldsite.vislab.usyd.edu.au/CP3/Four5/mod2-01.gif

Best regards,
MG


  • Prev by Date: About UnitStep and ZeroValue
  • Next by Date: Re: Mathematica 6 & Wolfram Workbench
  • Previous by thread: Re: About UnitStep and ZeroValue
  • Next by thread: Re: Hole/Disk function