Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive

Re: Hole/Disk function

  • To: mathgroup at smc.vnet.net
  • Subject: [mg76107] Re: [mg76024] Hole/Disk function
  • From: DrMajorBob <drmajorbob at bigfoot.com>
  • Date: Wed, 16 May 2007 05:35:02 -0400 (EDT)
  • References: <1565898.1179222749335.JavaMail.root@m35>
  • Reply-to: drmajorbob at bigfoot.com

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