Exam & Homework:

(No late homework will be accepted!)

 

Midterm 1: Chaps. 1~4

 

Midterm 2: Chaps. 5~6

 

Final: Chaps. 7~8.3 (June 23)

 

TAs: 廖天佑(d9661812@oz.nthu.edu.tw), 許志仲(m121754@gmail.com), 王贊維()

 

Homework (self exercise不用交)

 

Chap. 1: 1.2, 1.3, 1.5, 1.7, 1.8, 1.10, 1.11 (solution)

Chap. 2: 2.4, 2.5, 2.6, 2.8, 2.11, 2.13, 2.17, 2.20, 2.22, 2.24, 2.27, 2.31, 2.34, 2.36, 2.40, 2.43, 2.44 (solution)

Chap. 3: 3.2, 3.5, 3.9, 3.11, 3.14, 3.18, 3.22, 3.25, 3.28, 3.31, 3.35, 3.37, 3.39 (solution)

Chap. 4: 4.2, 4.4, 4.7, 4.10, 4.12, 4.14, 4.16 (solution)

Chap. 5: 5.2, 5.5, 5.7, 5.10, 5.12, 5.16, 5.19, 5.22, 5.26, 5.29, 5.33, 5.36, 5.39, 5.43, 5.46, 5.48, 5.52, 5.54 (solution)

Chap. 6: 6.2, 6.3, 6.6, 6.7, 6.9, 6.10, 6.11, 6.13, 6.14, 6.16 (solution)

Chap. 7: 7.3, 7.5, 7.6, 7.8, 7.9, 7.11, 7.13, 7.15, 7.16, 7.18, 17.19, 7.21, 7.22

Chap. 8: 8.2, 8.3, 8.4, 8.6, 8.7, 8.9, 8.12, 8.14, 8.16, 8.18, 8.20, 8.21

 

Computer Assignments (要交)

Please complete the following assignments using MATLAB by the due date, and upload your typed report (in Word or PDF), and the source codes (with remarks and explanations) to the following FTP site (Please contact 許志仲 (m121754@gmail.com) if any problems with the FTP site)

FTP 登入資訊如下:

FTP: ftp://nvlab.no-ip.org

username: dsp

password: dspupload

 

DSP FTP and upload page

Homework Upload Page: http://nvlab.no-ip.org/dsp

FTP: ftp://nvlab.no-ip.org

 

Filename formatHW_no_studentID.rar (zip)

Example: HW_1_9661805.rar

 

Homework: (Due: June 30)

 

(a)  Develop a MATLAB function to implement the overlap-add method using the circular convolution operation.

The format should be

--------------------------

function [y] = ovrlpadd(x,h,N)

% Overlap-Add method of block convolution

% [y] = ovrlpadd(x,h,N)

%

% y = output sequence

% x = input sequence

% h = impulse response

% N = block length >= 2*length(h)-1

-----------------------------

(b) Incorporate the radix-2 FFT implementation in the above function to obtain a high-speed overlap-add convolution routine. Remember to choose N = 2v

 

Verify your functions on the following two sequences

 

x(n) = cos(pn/500)R4000(n), h(n) = {1, -1, 1, -1}

 

where RM(n) is a rectangular window function, that is

 

RM(n) = 1 for 0 £ n £ M - 1

RM(n) = 0 for n £ 0 and n > M - 1

 

MATLAB references:

Examples of using MATLAB to plot graphs? (here)

MATLAB Resources (from Prof. Roger Jang of CS/NTHU):

http://140.114.76.148/jang/books/matlabProgramming4beginner/cdrom/matlabProgramming4beginner/slide/

List of frequently used instruction set of MATLAB (here)