Browse papers
A

Section A: Long Answer Questions

Attempt all / any as specified.

4 questions
1long12 marks

(a) Define a linear time-invariant (LTI) discrete-time system. State and prove the conditions for stability and causality of an LTI system in terms of its impulse response h[n]h[n].

(b) The impulse response of a discrete-time LTI system is given by h[n]=(0.5)nu[n]h[n] = (0.5)^n u[n]. Determine the response y[n]y[n] of the system to the input x[n]=u[n]x[n] = u[n] using the convolution sum, and comment on whether the system is stable.

(a) LTI system; stability and causality

A discrete-time system is linear if it satisfies superposition: for inputs x1[n],x2[n]x_1[n],x_2[n] with outputs y1[n],y2[n]y_1[n],y_2[n],

T{ax1[n]+bx2[n]}=ay1[n]+by2[n].T\{a\,x_1[n]+b\,x_2[n]\}=a\,y_1[n]+b\,y_2[n].

It is time-invariant if a shift in input produces only the same shift in output: T{x[nn0]}=y[nn0]T\{x[n-n_0]\}=y[n-n_0]. A system that is both is an LTI system, fully characterized by its impulse response h[n]=T{δ[n]}h[n]=T\{\delta[n]\}, with y[n]=x[n]h[n]=k=x[k]h[nk]y[n]=x[n]*h[n]=\sum_{k=-\infty}^{\infty}x[k]\,h[n-k].

Stability (BIBO). A system is stable iff every bounded input produces a bounded output. Condition: h[n]h[n] is absolutely summable,

n=h[n]<.\sum_{n=-\infty}^{\infty}|h[n]|<\infty.

Proof. If x[n]Bx|x[n]|\le B_x, then

y[n]=kh[k]x[nk]kh[k]x[nk]Bxkh[k].|y[n]|=\Big|\sum_k h[k]x[n-k]\Big|\le \sum_k|h[k]|\,|x[n-k]|\le B_x\sum_k|h[k]|.

If kh[k]=S<\sum_k|h[k]|=S<\infty, then y[n]BxS<|y[n]|\le B_x S<\infty (sufficiency). Necessity follows by choosing x[n]=sgn(h[n])x[n]=\operatorname{sgn}(h[-n]), which makes y[0]=kh[k]y[0]=\sum_k|h[k]|; a finite output requires S<S<\infty.

Causality. A system is causal if the output at time nn depends only on present and past inputs. Condition:

h[n]=0for n<0.h[n]=0\quad\text{for } n<0.

Proof. In y[n]=kh[k]x[nk]y[n]=\sum_k h[k]x[n-k], terms with k<0k<0 use future inputs x[nk]x[n-k] (nk>nn-k>n). These vanish iff h[k]=0h[k]=0 for all k<0k<0, so the output uses only x[n],x[n1],x[n],x[n-1],\dots

(b) Convolution of h[n]=(0.5)nu[n]h[n]=(0.5)^n u[n] with x[n]=u[n]x[n]=u[n]

y[n]=k=x[k]h[nk]=k=0n(0.5)nk,n0.y[n]=\sum_{k=-\infty}^{\infty}x[k]\,h[n-k]=\sum_{k=0}^{n}(0.5)^{\,n-k},\qquad n\ge 0.

Let m=nkm=n-k (as k:0nk:0\to n, m:n0m:n\to 0):

y[n]=m=0n(0.5)m=1(0.5)n+110.5=2(1(0.5)n+1),n0,y[n]=\sum_{m=0}^{n}(0.5)^m=\frac{1-(0.5)^{n+1}}{1-0.5}=2\big(1-(0.5)^{n+1}\big),\quad n\ge 0,

and y[n]=0y[n]=0 for n<0n<0. Thus

y[n]=[2(0.5)n]u[n]\boxed{\,y[n]=\big[2-(0.5)^{n}\big]\,u[n]\,}

since 2(0.5)n+1=(0.5)n2(0.5)^{n+1}=(0.5)^n. As nn\to\infty, y[n]2y[n]\to 2 (the step response settles at the DC gain H(1)=2H(1)=2).

Stability: n=0(0.5)n=110.5=2<\sum_{n=0}^{\infty}|(0.5)^n|=\dfrac{1}{1-0.5}=2<\infty, so h[n]h[n] is absolutely summable and the system is BIBO stable. (It is also causal since h[n]=0h[n]=0 for n<0n<0.)

discrete-time-signalslti-systemsconvolution
2long12 marks

(a) State the definition of the Z-transform and explain the significance of the region of convergence (ROC). List the properties of the ROC.

(b) Consider a causal LTI system described by the difference equation

y[n]34y[n1]+18y[n2]=x[n].y[n] - \tfrac{3}{4} y[n-1] + \tfrac{1}{8} y[n-2] = x[n].

Find the system function H(z)H(z), sketch its pole-zero plot, and determine the impulse response h[n]h[n] using the inverse Z-transform (partial fraction expansion).

(a) Z-transform, ROC, and ROC properties

The (two-sided) Z-transform of x[n]x[n] is

X(z)=n=x[n]zn,z=rejωC.X(z)=\sum_{n=-\infty}^{\infty}x[n]\,z^{-n},\qquad z=re^{j\omega}\in\mathbb{C}.

The Region of Convergence (ROC) is the set of zz for which this sum converges absolutely. The ROC is essential because the algebraic expression X(z)X(z) alone is not unique to a sequence; the same X(z)X(z) with different ROCs corresponds to different time sequences. The ROC determines causality and stability of the system.

Properties of the ROC:

  • It is an annular region (a ring) centered at the origin, r1<z<r2r_1<|z|<r_2.
  • It contains no poles of X(z)X(z).
  • For a finite-length sequence, the ROC is the entire zz-plane (possibly excluding z=0z=0 and/or z=z=\infty).
  • For a right-sided (causal) sequence the ROC is the exterior of the outermost pole, z>rmax|z|>r_{\max}.
  • For a left-sided (anti-causal) sequence it is the interior of the innermost pole, z<rmin|z|<r_{\min}.
  • For a two-sided sequence it is a ring between two poles (if it exists).
  • A system is stable iff its ROC includes the unit circle z=1|z|=1; causal and stable iff all poles lie inside the unit circle.

(b) System function and impulse response

Taking the Z-transform of y[n]34y[n1]+18y[n2]=x[n]y[n]-\tfrac34 y[n-1]+\tfrac18 y[n-2]=x[n]:

Y(z)(134z1+18z2)=X(z)    H(z)=1134z1+18z2.Y(z)\Big(1-\tfrac34 z^{-1}+\tfrac18 z^{-2}\Big)=X(z)\;\Rightarrow\; H(z)=\frac{1}{1-\frac34 z^{-1}+\frac18 z^{-2}}.

Factor the denominator: 134z1+18z2=(112z1)(114z1)1-\tfrac34 z^{-1}+\tfrac18 z^{-2}=(1-\tfrac12 z^{-1})(1-\tfrac14 z^{-1}). So

H(z)=1(112z1)(114z1)=z2(z12)(z14).H(z)=\frac{1}{(1-\tfrac12 z^{-1})(1-\tfrac14 z^{-1})}=\frac{z^2}{(z-\tfrac12)(z-\tfrac14)}.

Pole-zero plot. Poles at z=12z=\tfrac12 and z=14z=\tfrac14 (both inside the unit circle); a double zero at z=0z=0. Since the system is causal, ROC: z>12|z|>\tfrac12, which includes the unit circle, so the system is stable. (Sketch: unit circle, two ×\times on the positive real axis at 0.250.25 and 0.50.5, and \circ at the origin.)

Partial fraction expansion:

H(z)=A112z1+B114z1.H(z)=\frac{A}{1-\tfrac12 z^{-1}}+\frac{B}{1-\tfrac14 z^{-1}}. A=[114z1]1z1=2=1114(2)=11/2=2,A=\Big[1-\tfrac14 z^{-1}\Big]^{-1}\Big|_{z^{-1}=2}=\frac{1}{1-\tfrac14(2)}=\frac{1}{1/2}=2, B=[112z1]1z1=4=1112(4)=11=1.B=\Big[1-\tfrac12 z^{-1}\Big]^{-1}\Big|_{z^{-1}=4}=\frac{1}{1-\tfrac12(4)}=\frac{1}{-1}=-1.

For the causal case, 11az1anu[n]\dfrac{1}{1-a z^{-1}}\leftrightarrow a^n u[n], so

h[n]=[2(12)n(14)n]u[n]\boxed{\,h[n]=\Big[2\big(\tfrac12\big)^n-\big(\tfrac14\big)^n\Big]u[n]\,}

Check: h[0]=21=1h[0]=2-1=1, h[1]=114=34h[1]=1-\tfrac14=\tfrac34 (matches the recursion h[1]=34h[0]=34h[1]=\tfrac34 h[0]=\tfrac34).

z-transforminverse-z-transformsystem-function
3long16 marks

(a) Explain the steps involved in designing a digital IIR filter from an analog prototype using the bilinear transformation method. Discuss the problem of frequency warping and how prewarping addresses it.

(b) Design a first-order digital low-pass Butterworth filter with a 3-dB cutoff frequency of ωc=0.2π\omega_c = 0.2\pi rad/sample using the bilinear transformation. Assume a sampling period T=1T = 1 s and obtain the transfer function H(z)H(z).

(a) IIR design by bilinear transformation; warping and prewarping

Steps.

  1. From the digital specifications (critical digital frequencies ωk\omega_k), prewarp them to analog frequencies Ωk=2Ttan ⁣ωk2\Omega_k=\dfrac{2}{T}\tan\!\dfrac{\omega_k}{2}.
  2. Design the analog prototype Ha(s)H_a(s) (e.g. Butterworth/Chebyshev) meeting these prewarped specifications.
  3. Apply the bilinear transformation s=2T1z11+z1s=\dfrac{2}{T}\dfrac{1-z^{-1}}{1+z^{-1}} to obtain H(z)=Ha(s)s=2T1z11+z1H(z)=H_a(s)\big|_{s=\frac{2}{T}\frac{1-z^{-1}}{1+z^{-1}}}.
  4. Simplify into a realizable rational H(z)H(z) and verify the response.

The bilinear transform maps the entire jΩj\Omega axis (Ω:\Omega:-\infty\to\infty) onto one full traversal of the unit circle (ω:ππ\omega:-\pi\to\pi), so it is one-to-one, avoids aliasing, and maps the left half ss-plane inside the unit circle (stable analog \to stable digital).

Frequency warping. The relationship Ω=2Ttan ⁣ω2\Omega=\dfrac{2}{T}\tan\!\dfrac{\omega}{2} is nonlinear: compressing the infinite analog axis onto the finite circle distorts the frequency scale, increasingly so at high frequencies. A linearly spaced analog response becomes nonlinearly spaced in ω\omega.

Prewarping removes the distortion at the critical frequencies: by predistorting each band-edge with Ωk=2Ttan(ωk/2)\Omega_k=\dfrac{2}{T}\tan(\omega_k/2) before designing the analog filter, the bilinear map sends those analog edges back to exactly the desired digital edges. (Warping elsewhere remains, but is unimportant for piecewise-constant specs.)

(b) First-order LP Butterworth, ωc=0.2π\omega_c=0.2\pi, T=1T=1

Prewarp the cutoff:

Ωc=2Ttanωc2=2tan(0.1π)=2tan(18)=2(0.3249)=0.6498 rad/s.\Omega_c=\frac{2}{T}\tan\frac{\omega_c}{2}=2\tan(0.1\pi)=2\tan(18^\circ)=2(0.3249)=0.6498\ \text{rad/s}.

Analog prototype (first-order Butterworth LP, 3-dB cutoff Ωc\Omega_c):

Ha(s)=Ωcs+Ωc.H_a(s)=\frac{\Omega_c}{s+\Omega_c}.

Apply bilinear s=21z11+z1s=2\dfrac{1-z^{-1}}{1+z^{-1}}:

H(z)=Ωc21z11+z1+Ωc=Ωc(1+z1)(2+Ωc)+(Ωc2)z1.H(z)=\frac{\Omega_c}{2\frac{1-z^{-1}}{1+z^{-1}}+\Omega_c} =\frac{\Omega_c(1+z^{-1})}{(2+\Omega_c)+(\Omega_c-2)z^{-1}}.

With Ωc=0.6498\Omega_c=0.6498: numerator 0.6498(1+z1)0.6498(1+z^{-1}), denominator 2.64981.3502z12.6498-1.3502\,z^{-1}. Dividing through by 2.64982.6498:

H(z)=0.2452(1+z1)10.5095z1\boxed{\,H(z)=\frac{0.2452\,(1+z^{-1})}{1-0.5095\,z^{-1}}\,}

Checks. DC (z=1z=1): 0.2452(2)10.5095=0.49040.49051\dfrac{0.2452(2)}{1-0.5095}=\dfrac{0.4904}{0.4905}\approx 1 (0 dB pass-band). Nyquist (z=1z=-1): numerator =0=0, i.e. a zero at z=1z=-1 (ω=π\omega=\pi) — characteristic low-pass shape. The pole at z=0.5095z=0.5095 is inside the unit circle, so H(z)H(z) is stable.

iir-filter-designbilinear-transformfrequency-response
4long12 marks

(a) Explain why FIR filters can be designed to have exactly linear phase. State the symmetry conditions on the impulse response h[n]h[n] that guarantee linear phase.

(b) Design a linear-phase FIR low-pass filter of length N=7N = 7 with cutoff frequency ωc=π/2\omega_c = \pi/2 using the Hamming window method. Determine the filter coefficients h[n]h[n] and comment on the trade-off between main-lobe width and side-lobe attenuation when choosing a window.

(a) Why FIR filters can have exactly linear phase

An FIR filter H(ejω)=n=0N1h[n]ejωnH(e^{j\omega})=\sum_{n=0}^{N-1}h[n]e^{-j\omega n} has linear phase when its impulse response is symmetric or antisymmetric about its midpoint (N1)/2(N-1)/2. The symmetry lets the sum be factored into a real-valued amplitude function times a pure linear-phase term ejω(N1)/2e^{-j\omega(N-1)/2}, so the phase is exactly ϕ(ω)=ωN12\phi(\omega)=-\omega\frac{N-1}{2} (plus a constant ±π/2\pm\pi/2 for the antisymmetric case). This gives a constant group delay τ=N12\tau=\frac{N-1}{2} samples and no phase (waveform) distortion. IIR filters cannot generally achieve this exactly.

Symmetry conditions (length NN):

  • Symmetric: h[n]=h[N1n]h[n]=h[N-1-n] — Type I (NN odd), Type II (NN even).
  • Antisymmetric: h[n]=h[N1n]h[n]=-h[N-1-n] — Type III (NN odd), Type IV (NN even). Either guarantees exactly linear phase.

(b) Length-7 LP FIR by Hamming window, ωc=π/2\omega_c=\pi/2

Ideal impulse response (delayed by α=(N1)/2=3\alpha=(N-1)/2=3):

hd[n]=sin(ωc(n3))π(n3),hd[3]=ωcπ=0.5.h_d[n]=\frac{\sin\big(\omega_c(n-3)\big)}{\pi(n-3)},\qquad h_d[3]=\frac{\omega_c}{\pi}=0.5.

With ωc=π/2\omega_c=\pi/2, hd[n]=sin(π2(n3))π(n3)h_d[n]=\dfrac{\sin(\frac{\pi}{2}(n-3))}{\pi(n-3)}:

nnm=n3m=n-3hd[n]h_d[n]
0,63\mp31/(3π)=0.1061-1/(3\pi)=-0.1061
1,52\mp200
2,41\mp11/π=0.31831/\pi=0.3183
3000.50.5

Hamming window w[n]=0.540.46cos ⁣(2πnN1)=0.540.46cos(πn/3)w[n]=0.54-0.46\cos\!\big(\frac{2\pi n}{N-1}\big)=0.54-0.46\cos(\pi n/3):

w={0.08,0.31,0.77,1.0,0.77,0.31,0.08}.w=\{0.08,\,0.31,\,0.77,\,1.0,\,0.77,\,0.31,\,0.08\}.

Windowed coefficients h[n]=hd[n]w[n]h[n]=h_d[n]\,w[n]:

nn0123456
h[n]h[n]0.0085-0.0085000.24510.24510.50.50.24510.2451000.0085-0.0085

The result is symmetric (h[n]=h[6n]h[n]=h[6-n]), confirming linear phase.

Trade-off. A window's main-lobe width sets the transition bandwidth and its side-lobe level sets stop-band attenuation. The two trade off inversely: the rectangular window has the narrowest main lobe (sharp transition) but poor side-lobe attenuation (13\approx 13 dB, with Gibbs ripples); Hamming gives much better attenuation (41\approx 41 dB) at the cost of a wider main lobe (wider transition band). Choosing a window means balancing transition sharpness against stop-band rejection.

fir-filter-designwindowinglinear-phase
B

Section B: Short Answer Questions

Attempt all / any as specified.

7 questions
5short8 marks

(a) Compute the 4-point DFT of the sequence x[n]={1,2,3,4}x[n] = \{1,\, 2,\, 3,\, 4\}.

(b) Distinguish between linear convolution and circular convolution, and explain how the DFT can be used to perform linear convolution of two finite-length sequences.

(a) 4-point DFT of x[n]={1,2,3,4}x[n]=\{1,2,3,4\}

X[k]=n=03x[n]ej2πkn/4=n=03x[n](j)kn.X[k]=\sum_{n=0}^{3}x[n]\,e^{-j2\pi kn/4}=\sum_{n=0}^{3}x[n]\,(-j)^{kn}.
  • X[0]=1+2+3+4=10X[0]=1+2+3+4=10
  • X[1]=1+2(j)+3(1)+4(j)=(13)+(2+4)j=2+2jX[1]=1+2(-j)+3(-1)+4(j)=(1-3)+(-2+4)j=-2+2j
  • X[2]=1+2(1)+3(1)+4(1)=12+34=2X[2]=1+2(-1)+3(1)+4(-1)=1-2+3-4=-2
  • X[3]=1+2(j)+3(1)+4(j)=(13)+(24)j=22jX[3]=1+2(j)+3(-1)+4(-j)=(1-3)+(2-4)j=-2-2j
X[k]={10,  2+2j,  2,  22j}\boxed{X[k]=\{10,\;-2+2j,\;-2,\;-2-2j\}}

(Note X[3]=X[1]X[3]=X[1]^*, as expected for a real sequence.)

(b) Linear vs. circular convolution; DFT method

Linear convolutionCircular (periodic) convolution
y[n]=kx[k]h[nk]y[n]=\sum_k x[k]h[n-k]y[n]=k=0N1x[k]h[((nk))N]y[n]=\sum_{k=0}^{N-1}x[k]h[((n-k))_N]
Length L1+L21L_1+L_2-1Length NN
Indices are ordinary shiftsIndices taken modulo NN (wrap-around)
What a real LTI filter doesWhat the DFT product gives

By the convolution property of the DFT, an NN-point IDFT of X[k]H[k]X[k]H[k] yields the circular convolution. To obtain the linear convolution of sequences of lengths L1L_1 and L2L_2 using DFTs:

  1. Choose NL1+L21N\ge L_1+L_2-1.
  2. Zero-pad both sequences to length NN.
  3. Compute NN-point DFTs X[k]X[k] and H[k]H[k] (via FFT).
  4. Multiply point-by-point: Y[k]=X[k]H[k]Y[k]=X[k]H[k].
  5. Take the NN-point IDFT: y[n]=IDFT{Y[k]}y[n]=\text{IDFT}\{Y[k]\}.

With NL1+L21N\ge L_1+L_2-1 the wrap-around (time-aliasing) terms are zero, so the circular convolution equals the linear convolution. (For long streams, overlap-add or overlap-save uses this block-wise.)

dftcircular-convolution
6short8 marks

Draw the signal-flow graph (butterfly diagram) of an 8-point decimation-in-time (DIT) radix-2 FFT algorithm. Show the input bit-reversal ordering and the twiddle factors W8kW_8^k. Compare the number of complex multiplications and additions required by direct DFT computation versus the radix-2 FFT for N=8N = 8.

8-point DIT radix-2 FFT

The DIT algorithm repeatedly splits a sequence into its even- and odd-indexed samples, giving log2N=3\log_2 N=3 stages of butterflies for N=8N=8. Each butterfly takes inputs a,ba,b and produces

A=a+W8kb,B=aW8kb,W8k=ej2πk/8.A=a+W_8^k\,b,\qquad B=a-W_8^k\,b,\qquad W_8^k=e^{-j2\pi k/8}.

Input bit-reversal order. The inputs are fed in bit-reversed index order so the outputs emerge in natural order:

Natural indexBinaryBit-reversedOrder
00000000
10011004
20100102
30111106
41000011
51011015
61100113
71111117

So inputs are ordered x[0],x[4],x[2],x[6],x[1],x[5],x[3],x[7]x[0],x[4],x[2],x[6],x[1],x[5],x[3],x[7].

Structure (3 stages).

  • Stage 1 (4 butterflies, span 1): twiddle W80W_8^0 only.
  • Stage 2 (4 butterflies, span 2): twiddles W80,W82W_8^0, W_8^2.
  • Stage 3 (4 butterflies, span 4): twiddles W80,W81,W82,W83W_8^0, W_8^1, W_8^2, W_8^3.

Twiddle factors: W80=1,  W81=12(1j),  W82=j,  W83=12(1j)W_8^0=1,\;W_8^1=\tfrac{1}{\sqrt2}(1-j),\;W_8^2=-j,\;W_8^3=\tfrac{1}{\sqrt2}(-1-j).

Text sketch of the flow graph: inputs in bit-reversed order on the left; each stage has 4 vertical butterflies (crossing lines) with the twiddle factor on the lower branch before the add/subtract; outputs X[0]X[7]X[0]\dots X[7] in natural order on the right.

Computation count, N=8N=8

Complex multiplicationsComplex additions
Direct DFT (N2N^2 / N(N1)N(N-1))N2=64N^2=64N(N1)=56N(N-1)=56
Radix-2 FFT (N2log2N\tfrac{N}{2}\log_2 N / Nlog2NN\log_2 N)823=12\tfrac{8}{2}\cdot3=1283=248\cdot3=24

The FFT reduces multiplications from 6464 to 1212 (about 5×5\times) and additions from 5656 to 2424; the saving grows as N2(N/2)log2N\dfrac{N^2}{(N/2)\log_2 N} for larger NN.

fftradix-2computational-complexity
7short6 marks

State and explain the sampling theorem. A continuous-time signal xa(t)=cos(2π2000t)+cos(2π5000t)x_a(t) = \cos(2\pi \cdot 2000 t) + \cos(2\pi \cdot 5000 t) is sampled at fs=6kHzf_s = 6\,\text{kHz}. Determine which frequency components are aliased and state the apparent (alias) frequencies that appear in the sampled signal.

Sampling theorem

Statement. A band-limited continuous-time signal containing no frequency components above fmf_m Hz is completely determined by, and can be exactly reconstructed from, its samples taken at a rate

fs2fm(Nyquist rate).f_s\ge 2f_m\quad(\text{Nyquist rate}).

If fs<2fmf_s<2f_m, higher-frequency components fold (alias) into lower frequencies and the original signal cannot be recovered. Reconstruction uses ideal low-pass (sinc) interpolation. A component at ff that exceeds the folding frequency fs/2f_s/2 appears at the aliased frequency fkfs|f-k f_s| for the integer kk that brings it into [0,fs/2][0,\,f_s/2].

Aliasing analysis, fs=6f_s=6 kHz

Folding frequency fs/2=3 kHzf_s/2=3\ \text{kHz}. The signal has components at f1=2 kHzf_1=2\ \text{kHz} and f2=5 kHzf_2=5\ \text{kHz}.

  • f1=2f_1=2 kHz: 2<32<3 kHz, below the folding frequency \Rightarrow not aliased; appears at 22 kHz.
  • f2=5f_2=5 kHz: 5>35>3 kHz \Rightarrow aliased. Apparent frequency =f2fs=56=1 kHz=|f_2-f_s|=|5-6|=1\ \text{kHz}.

Result. The sampled signal contains tones at 22 kHz and 11 kHz; the original 55 kHz component masquerades as a spurious 11 kHz tone. To avoid this, either sample at fs2(5)=10f_s\ge 2(5)=10 kHz or place an anti-aliasing low-pass filter before sampling.

samplingaliasingnyquist
8short6 marks

(a) Define the cross-correlation and autocorrelation of discrete-time sequences and explain their physical significance in signal processing.

(b) Compute the linear convolution of x[n]={1,1,2}x[n] = \{1,\, -1,\, 2\} and h[n]={2,1,1}h[n] = \{2,\, 1,\, 1\}.

(a) Cross-correlation and autocorrelation

Cross-correlation of x[n]x[n] and y[n]y[n]:

rxy[l]=n=x[n]y[nl],l=lag.r_{xy}[l]=\sum_{n=-\infty}^{\infty}x[n]\,y[n-l],\qquad l=\text{lag}.

It measures the similarity between two sequences as a function of relative shift ll; the lag of its peak gives the time delay between them. Use: signal detection, time-delay/range estimation (radar, sonar), pattern matching.

Autocorrelation is the special case y=xy=x:

rxx[l]=n=x[n]x[nl].r_{xx}[l]=\sum_{n=-\infty}^{\infty}x[n]\,x[n-l].

It measures self-similarity; rxx[0]=nx2[n]r_{xx}[0]=\sum_n x^2[n] equals the signal energy and is the maximum. Use: detecting periodicity/pitch, characterizing random signals (its DFT is the power spectral density). Note correlation is like convolution without folding one sequence: rxy[l]=x[l]y[l]r_{xy}[l]=x[l]*y[-l].

(b) Linear convolution of x[n]={1,1,2}x[n]=\{1,-1,2\} and h[n]={2,1,1}h[n]=\{2,1,1\}

Output length =3+31=5=3+3-1=5. Using y[n]=kx[k]h[nk]y[n]=\sum_k x[k]h[n-k]:

  • y[0]=12=2y[0]=1\cdot2=2
  • y[1]=11+(1)2=12=1y[1]=1\cdot1+(-1)\cdot2=1-2=-1
  • y[2]=11+(1)1+22=11+4=4y[2]=1\cdot1+(-1)\cdot1+2\cdot2=1-1+4=4
  • y[3]=(1)1+21=1+2=1y[3]=(-1)\cdot1+2\cdot1=-1+2=1
  • y[4]=21=2y[4]=2\cdot1=2
y[n]={2,1,4,1,2}\boxed{y[n]=\{2,\,-1,\,4,\,1,\,2\}}

Check: y=8=(x)(h)=(2)(4)\sum y=8=(\sum x)(\sum h)=(2)(4). ✓

correlationconvolution
9short6 marks

A discrete-time system has the system function H(z)=1z110.5z1H(z) = \dfrac{1 - z^{-1}}{1 - 0.5 z^{-1}}. Obtain expressions for the magnitude response H(ejω)|H(e^{j\omega})| and the phase response H(ejω)\angle H(e^{j\omega}), and sketch the magnitude response over 0ωπ0 \le \omega \le \pi. State whether the system behaves as a low-pass or high-pass filter.

Frequency response of H(z)=1z110.5z1H(z)=\dfrac{1-z^{-1}}{1-0.5z^{-1}}

Set z=ejωz=e^{j\omega}:

H(ejω)=1ejω10.5ejω.H(e^{j\omega})=\frac{1-e^{-j\omega}}{1-0.5e^{-j\omega}}.

Magnitude. Using 1aejω=12acosω+a2|1-ae^{-j\omega}|=\sqrt{1-2a\cos\omega+a^2}:

H(ejω)=12cosω+11cosω+0.25=22cosω1.25cosω.|H(e^{j\omega})|=\frac{\sqrt{1-2\cos\omega+1}}{\sqrt{1-\cos\omega+0.25}}=\sqrt{\frac{2-2\cos\omega}{1.25-\cos\omega}}.

Phase. Write numerator and denominator in phase form. With 1ejω=2sin(ω/2)ej(πω)/21-e^{-j\omega}=2\sin(\omega/2)\,e^{j(\pi-\omega)/2} for the numerator, and (10.5ejω)=tan1 ⁣0.5sinω10.5cosω\angle(1-0.5e^{-j\omega})=\tan^{-1}\!\dfrac{0.5\sin\omega}{1-0.5\cos\omega},

H(ejω)=(πω2)tan1 ⁣0.5sinω10.5cosω.\angle H(e^{j\omega})=\Big(\frac{\pi-\omega}{2}\Big)-\tan^{-1}\!\frac{0.5\sin\omega}{1-0.5\cos\omega}.

Sketch / sample values of H(ejω)|H(e^{j\omega})| over 0ωπ0\le\omega\le\pi:

ω\omega00π/2\pi/2π\pi
cosω\cos\omega11001-1
$H$0/0.25=0\sqrt{0/0.25}=0

The magnitude rises monotonically from 00 at DC (ω=0\omega=0) to 43\tfrac{4}{3} at ω=π\omega=\pi.

Conclusion. There is a zero at z=1z=1 (ω=0\omega=0) forcing H=0|H|=0 at DC, and the response is largest at high frequency, so the system is a high-pass filter (a first-order differencing/high-pass section).

frequency-responsemagnitude-phase-response
10short6 marks

(a) Classify discrete-time signals as energy signals and power signals, giving the defining equations for energy and power.

(b) Determine whether the signal x[n]=cos ⁣(πn4)x[n] = \cos\!\left(\dfrac{\pi n}{4}\right) is periodic; if so, find its fundamental period NN. Also test the system y[n]=nx[n]y[n] = n\,x[n] for linearity and time-invariance.

(a) Energy and power signals

For a discrete-time signal x[n]x[n]:

  • Energy: E=n=x[n]2.E=\displaystyle\sum_{n=-\infty}^{\infty}|x[n]|^2.
  • Power: P=limN12N+1n=NNx[n]2.P=\displaystyle\lim_{N\to\infty}\frac{1}{2N+1}\sum_{n=-N}^{N}|x[n]|^2.

An energy signal has 0<E<0<E<\infty (hence P=0P=0) — typically finite or decaying sequences. A power signal has 0<P<0<P<\infty (hence E=E=\infty) — typically periodic or persistent signals. A signal cannot be both, and some signals are neither.

(b) Periodicity, linearity, time-invariance

Periodicity of x[n]=cos(πn/4)x[n]=\cos(\pi n/4). A discrete sinusoid cos(ω0n)\cos(\omega_0 n) is periodic iff ω0/2π\omega_0/2\pi is rational. Here ω0=π/4\omega_0=\pi/4, so ω02π=18\dfrac{\omega_0}{2\pi}=\dfrac{1}{8} (rational). The fundamental period is the smallest NN with ω0N=2πk\omega_0 N=2\pi k:

N=2πkπ/4=8k    N=8 (k=1).N=\frac{2\pi k}{\pi/4}=8k\;\Rightarrow\;\boxed{N=8}\ (k=1).

So x[n]x[n] is periodic with period 88. (It is also a power signal.)

System y[n]=nx[n]y[n]=n\,x[n].

Linearity: For x1y1=nx1[n]x_1\to y_1=n x_1[n] and x2y2=nx2[n]x_2\to y_2=n x_2[n], the input ax1+bx2a x_1+b x_2 gives n(ax1[n]+bx2[n])=ay1[n]+by2[n]n(a x_1[n]+b x_2[n])=a y_1[n]+b y_2[n]. Linear.

Time-invariance: Delay the output: y[nn0]=(nn0)x[nn0]y[n-n_0]=(n-n_0)\,x[n-n_0]. Apply the delayed input x[nn0]x[n-n_0] to the system: response =nx[nn0]=n\,x[n-n_0]. Since nx[nn0](nn0)x[nn0]n\,x[n-n_0]\neq(n-n_0)x[n-n_0] in general, the system is time-variant (the multiplier nn is an explicit function of time).

Conclusion: y[n]=nx[n]y[n]=n\,x[n] is linear but time-variant.

discrete-time-signalssignal-classification
11short4 marks

The system function of a discrete-time LTI system is H(z)=zz1.5H(z) = \dfrac{z}{z - 1.5}. Using the pole locations and the ROC, determine whether the system can be both causal and stable. Justify your answer.

Causality and stability of H(z)=zz1.5H(z)=\dfrac{z}{z-1.5}

The system has a pole at z=1.5z=1.5 and a zero at z=0z=0. The pole magnitude is z=1.5>1|z|=1.5>1, i.e. it lies outside the unit circle.

  • Causal choice: ROC is the exterior of the outermost pole, z>1.5|z|>1.5. This region does not include the unit circle z=1|z|=1, so the causal system is unstable (its impulse response h[n]=(1.5)nu[n]h[n]=(1.5)^n u[n] grows without bound).
  • Stable choice: stability requires the ROC to include z=1|z|=1, which forces z<1.5|z|<1.5 (the interior), giving a left-sided, anti-causal h[n]=(1.5)nu[n1]h[n]=-(1.5)^n u[-n-1].

Since the single pole lies outside the unit circle, no choice of ROC can be both causal and stable simultaneously. A system is causal and stable only when all poles lie strictly inside the unit circle, which is violated here.

The system cannot be both causal and stable (pole at z=1.5 is outside the unit circle).\boxed{\text{The system cannot be both causal and stable (pole at }z=1.5\text{ is outside the unit circle).}}
z-transformstabilitypole-zero

Frequently asked questions

Where can I find the BE Computer Engineering (IOE, TU) Digital Signal Analysis and Processing (IOE, EX 701 / ENEX 416) question paper 2079?
The full BE Computer Engineering (IOE, TU) Digital Signal Analysis and Processing (IOE, EX 701 / ENEX 416) 2079 (regular) question paper is available free on Kekkei. You can read every question online and attempt the paper under timed exam conditions.
Does the Digital Signal Analysis and Processing (IOE, EX 701 / ENEX 416) 2079 paper come with solutions?
Yes. Every question on this Digital Signal Analysis and Processing (IOE, EX 701 / ENEX 416) past paper includes a step-by-step solution, plus instant AI feedback when you attempt it on Kekkei.
How many marks is the BE Computer Engineering (IOE, TU) Digital Signal Analysis and Processing (IOE, EX 701 / ENEX 416) 2079 paper?
The BE Computer Engineering (IOE, TU) Digital Signal Analysis and Processing (IOE, EX 701 / ENEX 416) 2079 paper carries 80 full marks and is meant to be completed in 180 minutes, across 11 questions.
Is practising this Digital Signal Analysis and Processing (IOE, EX 701 / ENEX 416) past paper free?
Yes — reading and attempting this Digital Signal Analysis and Processing (IOE, EX 701 / ENEX 416) past paper on Kekkei is completely free.