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?

 Accepted Answer

Torsten
Torsten on 3 Aug 2017
Edited: KSSV on 3 Aug 2017

2 Comments

@Torsten Is it a link page? If it is then is not open
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.

Sign in to comment.

More Answers (0)

Categories

Find more on Linear Algebra in Help Center and File Exchange

Asked:

on 3 Aug 2017

Commented:

on 3 Aug 2017

Community Treasure Hunt

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

Start Hunting!