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?

 Risposta accettata

Torsten
Torsten il 3 Ago 2017
Modificato: KSSV il 3 Ago 2017

0 voti

2 Commenti

@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.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Linear Algebra in Centro assistenza e File Exchange

Richiesto:

il 3 Ago 2017

Commentato:

il 3 Ago 2017

Community Treasure Hunt

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

Start Hunting!

Translated by