MathGroup Archive 1996

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

Search the Archive

Re: Graphing recurrences

  • Subject: [mg3264] Re: [mg3223] Graphing recurrences
  • From: rpratt at math.unc.edu (Robert Pratt)
  • Date: 21 Feb 1996 09:25:46 -0600
  • Approved: usenet@wri.com
  • Distribution: local
  • Newsgroups: wri.mathgroup
  • Organization: Wolfram Research, Inc.
  • Sender: daemon at wri.com

Try

y[0]:=0
y[t_]:=y[t-1]+1
ListPlot[Table[y[t],{t,1,10}]]

Alternatively,

ListPlot[Table[y[t],{t,1,10}], PlotJoined->True]

Rob Pratt
Department of Mathematics
The University of North Carolina at Chapel Hill
CB# 3250, 331 Phillips Hall
Chapel Hill, NC  27599-3250

rpratt at math.unc.edu

On Mon, 19 Feb 1996, Kinh H. Tieu wrote:

> How do I plot recurrences?  For example y(t)=y(t-1)+1, y(0)=0, 1 <= t <= 10.
> 
> -Kinh
> 
> 


  • Prev by Date: Re: Graphing recurrences
  • Next by Date: fitting a curve by adjusting exponents
  • Previous by thread: Re: Graphing recurrences
  • Next by thread: Re: Graphing recurrences