MathGroup Archive 1996

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

Search the Archive

Re: Graphing recurrences


Hello,

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

Difference equations with constant coefficents can be solved 
efficiently using z transform method.

But, ListPlot[Table[y[t],...] works in simple cases, e.g.

y[-1] = 0
y[0] = 1
y[t_] := y[t - 2] / 2 - y[t - 1] / 10

ListPlot[Table[y[t], {t, 1, 10}]]

I am just a beginner about Mathematica.
So, I am interested in this question
if there are some Mathematica-like answer(s) from experts.

===============================================================================
  yamada at ee.ehime-u.ac.jp (Yoshio Yamada): Ehime Univ., Matsuyama, 790, Japan
===============================================================================


==== [MESSAGE SEPARATOR] ====


  • Prev by Date: Comparison of Mathematica on Various Computers
  • Next by Date: Re: Graphing recurrences
  • Previous by thread: Re: Graphing recurrences
  • Next by thread: Re: Graphing recurrences