solve difference equation in matlab

how can i solve following difference equation in matlab?
A(n+1)=(1-i*p)A(n), where p is arbitrary constant and A(0)=A0
The answer obtained by iteration method of the above equation is A(n)=A0*(1-i*p)^(n).
But how we can obtain this answer in matlab?

 採用された回答

Torsten
Torsten 2017 年 8 月 3 日
編集済み: KSSV 2017 年 8 月 3 日

0 投票

2 件のコメント

Wajahat
Wajahat 2017 年 8 月 3 日
@Torsten Is it a link page? If it is then is not open
Torsten
Torsten 2017 年 8 月 3 日
Goto page 392 of this book:
https://books.google.de/books/about/Advanced_Engineering_Mathematics_with_MA.html?id=nPTw5B8P3OAC&redir_esc=y
Best wishes
Torsten.

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeLinear Algebra についてさらに検索

質問済み:

2017 年 8 月 3 日

コメント済み:

2017 年 8 月 3 日

Community Treasure Hunt

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

Start Hunting!

Translated by