Z-Transform Calculations and Zero-Pole Analysis, Exercises of Network security

Matlab code snippets demonstrating various calculations using the z-transform, including the inverse z-transform, convolution, and zero-pole analysis. Each calculation is presented as a separate problem, with the code and expected results.

Typology: Exercises

2014/2015

Uploaded on 06/11/2015

xobia.ch
xobia.ch 🇵🇰

1 document

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
z transform
clc
clear all
close all
syms n z
x=(1/4)^n;
y=ztrans(x)
w=iztrans(y)
*****************************************************
2nd q
clc
clear all
close all
syms n z
x=2*(2)^n+4*(1/2)^n;
y=ztrans(x)
************************************
q1:
inverse
clc
clear all
close all
syms n z
x=1/(1-z^-1)*(1-z^-1)^2;
iztrans(x)
*************************
q2:
inverse
clc
clear all
close all
syms n z
x=6-9*z^-1/1-25*z^-1+z^-2;
iztrans(x)
**********************
q3
convole z tras
pf2

Partial preview of the text

Download Z-Transform Calculations and Zero-Pole Analysis and more Exercises Network security in PDF only on Docsity!

z transform

clc clear all close all

syms n z x=(1/4)^n; y=ztrans(x) w=iztrans(y)


2nd q clc clear all close all

syms n z x=2(2)^n+4(1/2)^n; y=ztrans(x)


q1: inverse clc clear all close all

syms n z x=1/(1-z^-1)*(1-z^-1)^2;

iztrans(x)

q2: inverse clc clear all close all

syms n z x=6-9z^-1/1-25z^-1+z^-2; iztrans(x)


q convole z tras

clc clear all close all

syms n z x=4*(1/2)^n; h=(1/4)^n;

w=ztrans(x) u=ztrans(h)

c=w*u; k=iztrans(c)

zero and pole:

clc clear all close all num=[1 -1.6180 1]; d=[1 -1.5161 0.878]; roots(num); roots(d); zplane(num,d);