1 / 8

ENEE408G: Capstone Design Project: Multimedia Signal Processing Design Project 1:

ENEE408G: Capstone Design Project: Multimedia Signal Processing Design Project 1: Digital Speech Processing. Outline. Matlab Assignment – Common Mistakes Matlab Programming Tasks Announcement. Matlab Assignment – Common Mistakes. Wrong Names:

keelty
Download Presentation

ENEE408G: Capstone Design Project: Multimedia Signal Processing Design Project 1:

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ENEE408G: Capstone Design Project: Multimedia Signal Processing Design Project 1: Digital Speech Processing ENEE408G Fall 2005 Multimedia Signal Processing

  2. Outline • Matlab Assignment – Common Mistakes • Matlab Programming Tasks • Announcement ENEE408G Fall 2005 Multimedia Signal Processing

  3. Matlab Assignment – Common Mistakes • Wrong Names: • Avoid using names of Matlab built-in functions to name for your functions or scripts • Problem 1: • Use 8 bits to quantize the hidden message Z • Z = Z/power(2, 8-1) – 1; • sound(Z, fs, 8); • Initialize Z before using for loop • Z = zeros(1, N/8); or Z= zeros(N/8,1); ENEE408G Fall 2005 Multimedia Signal Processing

  4. Matlab Assignment – Common Mistakes • Problem 2 and 3: • Convert uint8 (unsigned 8-bit integers) to double (double-precision) • Im = imread(‘Girl.bmp’); Im = double(Im); • Im = double(imread(‘Girl.bmp’)); • Initialize before using for loop for summation • [H,W] = size(Im); Im_new = zeros(H,W); • Im_new = zeros(size(Im)); • Work on the whole array (vectors, matrices,…) instead of on the individuals (elements). ENEE408G Fall 2005 Multimedia Signal Processing

  5. Matlab Programming Tasks • Two types of Matlab programs: function or script • Scripts do not accept input arguments or return output arguments. They operate on data in the workspace. • Functions can accept input arguments and return output arguments. Internal variables are local to the function. • Example: Im = imread(‘Girl.bmp’); • Should write functions for Matlab programming tasks • [wq, Tq, Gq] = lpcencoder(filename, L, fr, fs); ENEE408G Fall 2005 Multimedia Signal Processing

  6. Matlab Programming Tasks • A clear program structure with components: • Show the understanding about the implemented system • Easy to integrate the components together between group members • Example: In JPEC_encoder.m • Member1: ImY_DCT = DCT_transformer(ImY, N); • Member1: ImY_Q = quantizer(ImY_DCT, N, comp_factor); ENEE408G Fall 2005 Multimedia Signal Processing

  7. Announcement • Office Hours: • Time: 5pm – 7pm on Wednesday • Place : Jasmine Lab • Design project 1 [S] Report: • Submit to your group’s folder in ECELABS File server • Deadline: 09/30 (next Friday). • 8:45am for section 0101 and • 1:45pm for section 0102 ENEE408G Fall 2005 Multimedia Signal Processing

  8. Announcement • Next Friday (09/30/2005) • Check in : Pocket PC • Bring your own microphone, earphone, and converter. • Today: Test your Pocket PC programs for the current projects. ENEE408G Fall 2005 Multimedia Signal Processing

More Related