MathGroup Archive 2007

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

Search the Archive

Re: Hole/Disk function

  • To: mathgroup at smc.vnet.net
  • Subject: [mg76166] Re: Hole/Disk function
  • From: Mathieu G <ellocomateo at free.fr>
  • Date: Thu, 17 May 2007 05:56:38 -0400 (EDT)
  • References: <f2bs7i$gc0$1@smc.vnet.net>

Mathieu G a =E9crit :
> 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
>
Thanks people for your convergent replies! They really make sense.


  • Prev by Date: Re: Integrate[s^s(1-s)^(1-s)Sin[Pi s],{s,0,1}]
  • Next by Date: Re: Guessing "exact" values
  • Previous by thread: Re: Hole/Disk function
  • Next by thread: Re: Hole/Disk function