MathGroup Archive 2007

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

Search the Archive

Re: Hole/Disk function


Boole might come in handy; it makes True into 1, False into 0.

Bobby

On Tue, 15 May 2007 03:45:55 -0500, Mathieu G <ellocomateo at free.fr> wrot=
e:

> 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
>
>



-- =

DrMajorBob at bigfoot.com


  • Prev by Date: Re: -> {"AX", "!D", "EX"}
  • Next by Date: Dynamic PlotLabel in Math6?
  • Previous by thread: Re: Hole/Disk function
  • Next by thread: Re: Hole/Disk function