Re: Step function
- From: "Nasser Abbasi" <nma@xxxxxxxxx>
- Date: Fri, 30 Sep 2005 17:08:49 GMT
"Gigi" <g_plesoianu@xxxxxxxxxxx> wrote in message
news:ef16b3f.-1@xxxxxxxxxxxxxxxxxxx
> Hi, I'd like to plot a step function (Ex:y(x)=0 if x<0 and y(x)=1
> if x>=0). Can anybody help me?
>
In addition to suggestions given, you could try ezplot:
ezplot('Heaviside(x)',[0,10])
Nasser
.
- Prev by Date: Computation of Stirling Numbers
- Next by Date: Re: Partial I/O
- Previous by thread: Computation of Stirling Numbers
- Next by thread: passing structures
- Index(es):