Digital Signal Processing
Lab Homework 2, Due 4/6
Problem 1
Problem 2.11 (Page 72)
(a) Determine the
Fourier transform
of
x[n]=sin(pi*n/4)
Plot its magnitude and phase spectra.
(b) 
Plot its magnitude and phase spectra.
(c) ![]()
Calculate the inverse
Fourier transform of
to
get the output y[n].
(d) y[n] + 0.5y[n-4] = x[n] – x[n-2]
Get the output y[n] by the command filter.
(e) Compare the outputs in (c) and (d).
Problem 2
Problem 2.17 (Page 73)
(a) Determine the Fourier transform of the sequence
![]()
Plot its magnitude and phase spectra.
(b) Determine the Fourier transform of the sequence

Plot its magnitude and phase spectra.
ftp your homework to
ftp://signalstud@140.127.208.113
in the directory 數位訊號處理\HW2
by the following format:
檔案名稱:hw#_學號.zip
例如:資工同學,作業1
檔案名稱:hw1_a09355xx.zip
The password is given in class.