MathGroup Archive 2004

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

Search the Archive

Re: Piecewise functions

  • To: mathgroup at
  • Subject: [mg51582] Re: Piecewise functions
  • From: "Steve Luttrell" <steve_usenet at>
  • Date: Sat, 23 Oct 2004 00:22:41 -0400 (EDT)
  • References: <cl9tau$7oi$>
  • Sender: owner-wri-mathgroup at

This does what you want:


Steve Luttrell

"Luca" <luca at> wrote in message news:cl9tau$7oi$1 at
> Hi all. I'm studying for the exam of signals and systems and I was
> trying to plot some kind of functions I transformed for exercise. So, I
> need to plot piecewise functions like:
> y(x) = x if x > 3
> y(x) = -x if -1 < x < 3
> y(x) = 1 else
> (should have been a system).
> I found out in the guide the chapter about this, and I learned that it
> is possible with the function UnitStep, which I know. Anyway, I found
> it difficult to determine the equation of the function using this
> method. Is it possible to do it simply writing everything like I did
> before, more or less? i.e. without having to determine the equation
> with the UnitStep function.
> Hope I've been clear enought. Many thanks.
> Luca

  • Prev by Date: Re: Piecewise functions
  • Next by Date: Re: FindMinimum
  • Previous by thread: Re: Piecewise functions
  • Next by thread: Re: Piecewise functions