MATLAB: Solve difference equation in matlab

mathematicsMATLAB

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?
Related Question