how can I solve difference equation with initial condition.

16 ビュー (過去 30 日間)
Toral Panchal
Toral Panchal 2013 年 12 月 26 日
コメント済み: Toral Panchal 2013 年 12 月 26 日
Consider a difference equation with its initial conditions.
5y(n)+y(n-1)-3y(n-2) = (1/5^n)u(n), n>=0 y(n-1) = 2, y(n-2) = 0
How can I determine y(n) in matlab?

採用された回答

Matt J
Matt J 2013 年 12 月 26 日
See the FILTER command
  3 件のコメント
Matt J
Matt J 2013 年 12 月 26 日
編集済み: Matt J 2013 年 12 月 26 日
For example,
n=0:10;
X=(n>=0).*(1/5).^n;
Toral Panchal
Toral Panchal 2013 年 12 月 26 日
Thank you

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMathematics についてさらに検索

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by