Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Pilani Campus
Shifting Property
Z+ [x(n k)] = Z [x(n k)u(n)]
or
Matlab Implementation
[r p c]= residuez(b,a)
4
Forms of the solutions
The preceding solution is the complete response of the
difference equation. It can be expressed in several forms.
Homogeneous and particular parts:
A
The eqn has two parts. The first part can be interpreted as
YZS(z) = H(z)X(z) zero-state responses: &
the second part as YZI(z) = H(z)XIC(z)
Solving for both the parts independently
In this example xIC(n) is xIC(n) = {1,2}
Verification for
y2 = (1/3)*(1/4).^n+(1/2).^n+(2/3)*ones(1,8)
& For
y2 = (1/3)*(1/4).^n-2*(1/2).^n+(8/3)*ones(1,8) + 3*(1/2).^n
- 2*ones(1,8);
BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956
A periodic square wave sequence is given by
Where, m=0,
8
By applying the analysis equation
Observations:
DFS coefficients of square waves look like sinc
functions
The amplitude at k = 0 is equal to L,
zeros of the functions are at multiples of N/L
BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956
Aliasing Effect example: Frequency Sampling
If x(n) is time-limited (i.e., of finite duration) to [0,N 1],
then N samples of X(z) on the unit circle determine X(z) for
all z.
x(n) =
Or
Thus
Thus x(4) is aliased into x(0), and x(5) is aliased into x(1).
Hence
x2(n) = [. . . , 8, 6, 4, 3, 8, 6, 4, 3, 8, 6, 4, 3, . . .}
13
Compute the power spectral density, a measurement of the energy at various
frequencies, using the complex conjugate (CONJ). Form a frequency axis for the first
127 points and use it to plot the result. (The remainder of the points are symmetric.)
MATLAB script: ( a)