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

MathGroup Archive 2003

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

Search the Archive

RE: UnitStep

  • To: mathgroup at smc.vnet.net
  • Subject: [mg40037] RE: [mg40015] UnitStep
  • From: "David Park" <djmp at earthlink.net>
  • Date: Mon, 17 Mar 2003 03:33:05 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Knut,

Just use enough PlotPoints.

Plot[{UnitStep[Sin[x] - 6/10], Sin[x] - 6/10}, {x, 0, 60}, PlotPoints ->
100];

David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/

From: Knut Henning Schroder [mailto:Knut.Schroder at chem.ntnu.no]
To: mathgroup at smc.vnet.net

In Mathematica 4.0 for windows I use

Plot[{UnitStep[Sin[x] - 6/10], Sin[x] - 6/10}, {x, 0, 60}]

but it seems that some of the pulses are missing, as for x=27 where
UnitStep[Sin[27] - 6/10] =1

Please give me an explanation.

Regards,



  • Prev by Date: RE: Re: This should evaluate to zero
  • Next by Date: Re: UnitStep
  • Previous by thread: Re: UnitStep
  • Next by thread: Re: UnitStep