Piecewise functions

*To*: mathgroup at smc.vnet.net*Subject*: [mg51553] Piecewise functions*From*: Luca <luca at nospam.it>*Date*: Thu, 21 Oct 2004 22:22:10 -0400 (EDT)*Sender*: owner-wri-mathgroup at wolfram.com

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

**Follow-Ups**:**Re: Piecewise functions***From:*Murray Eisenberg <murray@math.umass.edu>

**Re: Piecewise functions***From:*DrBob <drbob@bigfoot.com>

**Re: Piecewise functions***From:*Tomas Garza <tgarza01@prodigy.net.mx>