Inverse Z-transform with negative Z-exponents
19 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I am faced with a Z-transform problem for school, and I already know the code to handle most of the problem using matrices for the numerator and denominator. My trouble is that the problem uses negative-exponents for the Zs.
x(z) = (z^-3)/((1 - z^-1)(1 - 0.2z^-1))
If this problem had only positive exponents, but the same coefficients, I would approach inputing this particular problem like this:
MATLAB code
syms z
%x(z) = (z^3)/((-z^1 + 1)(-0.2z^1 + 1))
num=[1 0 0 0];
den=conv([-1 1],[-0.2 1]);
Any thoughts for using a similar input style with negative exponents? Would it really be as simple as something like 'fun(-1)'?
0 commentaires
Réponse acceptée
Plus de réponses (1)
Azzi Abdelmalek
le 14 Fév 2015
num=[1 0 0 0];
den=conv([-1 1],[-0.2 1])
g=tf(num,den,1,'variable','z^-1')
2 commentaires
Voir également
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!