I was computing an inverse z-transform here, and I am facing some problems.
So, the z-transform is:
$$ X(z) = \frac{2+3z^{-1}}{1 - z^{-1} + 0.81z^{-2}} , |z| > 0.9 $$
I found the following poles:
$$ p_1 = 0,5 + j0,7483 $$ $$ p_2 = 0,5 - j0,7483 $$
and then, the following residues:
$$ R_1 = 1 - j2,6727 $$ $$ R_2 = 1 + j2,6727 $$
Rewriting $ X(z) $ with the poles in polar coordinates:
$$ X(z) = \frac{1 - j2,6727}{1 - 0,9 \angle 56,25^{\circ}} + \frac{1 + j2,6727}{1 - 0,9 \angle -56,25^{\circ}} $$
Through the magnitude of the poles, I can see that they are both inside the ROC, then, I can write $ x(n) $ as:
$$ x(n) = (1 - j2,6727)(0,9 \angle 56,25^{\circ})^{n}u(n) + (1 + j2,6727)(0,9 \angle -56,25^{\circ})^{n}u(n) $$
I know that it is possible to write $ x(n) $ in a form without complex numbers. I know this, because it was asked and I was able to plot the figure in Matlab using the following code:
delta = zeros(30, 1);
delta(1) = 1;
a = [1 -1 0.81];
b = [2 3];
x = filter(b, a, delta);
n = 0:29;
figure
stem(n, x);
My question is, what I did up to now is right? If it is, How can I compute $ x(n) $ without complex numbers? Is there any tips that you can give me to follow?
Thanks in advance.