Z-Transform Commands:
Example :01
Roots Command
b = [1 1];
a = [1 2 3];
roots(a)
roots(b)
OUTPUT:
ans =
-1.0000 + 1.4142i
-1.0000 - 1.4142i
ans =
-1
Example :02
freqz Command
Example :03
zplane Command
Example :04
tf2zp Command
b = [1 1];
a = [1 2 3];
[z p k] = tf2zp(b,a)
OUTPUT:
z =
-1
p =
-1.0000 + 1.4142i
-1.0000 - 1.4142i
k =
1
Example :05
zp2tf Command
b = [1 1];
a = [1 2 3];
[b a] = zp2tf(z,p,k)
OUTPUT:
b =
0 1 1
a =
1.0000 2.0000 3.0000