Re: Graphing recurrences
- Subject: [mg3276] Re: [mg3223] Graphing recurrences
- From: yamada at nana.ee.ehime-u.ac.jp (Yoshio Yamada)
- Date: 23 Feb 1996 09:50:46 -0600
- Approved: usenet@wri.com
- Distribution: local
- Newsgroups: wri.mathgroup
- Organization: Wolfram Research, Inc.
- Sender: daemon at wri.com
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
===============================================================================