Re: rect(x) and tri(x)
- To: mathgroup at smc.vnet.net
- Subject: [mg31492] Re: rect(x) and tri(x)
- From: Erk Jensen <Erk.Jensen at cern.ch>
- Date: Thu, 8 Nov 2001 04:54:33 -0500 (EST)
- Organization: CERN http://www.cern.ch
- References: <9sb4cs$d0d$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Marcus Fin wrote: > > Hi, > someone may help me to realize rect(x) e tri(x) functions with Mathematica ? > I thank you in advance. > > Marcus Fin Maybe like rect[x_] := Which[x < 0, 0, x <= 1, 1, x > 1, 0] if this is what you mean by rect[x] ... Ciao -erk-