EECS206
Laboratory Documents
 
Graduate Student Instructors
 
 
 
Lab Sections
 - Monday 
 
 
  - 11:30-1:30
      MB 
 
  - 3:30-5:30
      FZ  
 
 
 - Tuesday 
 
 
  - 9:30-11:30
      CH  
 
  - 11:30-1:30
      TK 
 
  - 5:30-7:30
      TK 
 
 
 - Wednesday 
 
 
  - 11:30-1:30
      BP  
 
  - 3:30-5:30
      FZ 
 
 
 - Thursday 
 
 
  - 9:30-11:30
      CH 
 
  - 11:30-1:30
      BP 
 
 
 
General Laboratory Documents
 
 - The
     laboratory syllabus, including laboratory submission guidelines: syllabus.pdf
 
 - A
     basic Matlab tutorial: matlab_tutorial.pdf
 
 - A
     sample laboratory that shows you the general format that the laboratories
     should take:
 
 
 - Scripts
     for setting up paths to the DSP First Toolkit on CAEN machines
 
 
 
 
Laboratory #1 Documents
 
 
 
Laboratory #2 Documents
 
 - Laboratory
     assignment #2: lab2.pdf
 
 - A
     small demo file that plots a complex exponential signal in three
     dimensions: ce_demo.m
 
 - A
     function for plotting complex numbers with axes and the unit circle (for
     Lab #2, Problem #1): ax_plot.m
 
 - A
     function for plotting parabolas and their roots on the complex plane (for
     Lab #2, Problem #3): parabola_plot.m
 
 - A
     function implementing a sinusoid phase detector (for Lab #2, Problem #7): phase_detect.m
 
 
 
Laboratory #3 Documents
 
o      
NOTE: Problem #1, part (b) contained an error.  Your time axis should be
t=0:1/fs:(t_max-1/fs).
 - Laboratory
     #3 notes: lab3_handout.pdf
 
 - Template
     file for sum-of-cosines function (Lab #3, Problem #1ff): sumcos.m
 
 - Function
     for performing Fourier series analysis (Lab #3, Problem #3ff): fourier_analysis.m
 
 - .MAT
     file containing various signals (Lab #3, Problem #3 and #6): lab3.mat
 
 - Demonstration
     version of fourier_analysis.m: fa_demo.m
 
 
 
Laboratory #4 Documents
 
o      
There are a few minor typos in the lab.  At the bottom of Page 2, the both summations
in the equation for variance should range from 1 to N.  Also, the standard deviation is the square
root of the variance.  Finally, at the
top of page 3, both summations in the equation for MSE range from 1 to N.
 - A
     sample image (you only need this if you don’t have access to the Image
     Processing Toolbox): cameraman.tif (Lab #4,
     all problems)
 
 - A
     function to display pixel values in small portions of an image: display_square.m (Lab #4, Problem #1)
 
 - A
     function to quantize a signal
     over a given range to a given number of levels: quantize.m
     (Lab #4, Problem #3ff)
 
 - The
     following files are part of the transform coder in Problem #4:
 
o      
The DFT block, which yields coefficients to be
quantized: dft_block.m
o      
The IDFT block, which converts coefficients back into
an image: inverse_dft_block.m
o      
The entire DFT coder, which calls both of the above
functions: dft_coder.m
 - A
     demonstration function that determines the “compression rates” for various
     types of image files, including JPEG, TIF, PNG, and BMP: file_code.m
 
 - Discussion
     of the delta^2/12 rule: delta2over12.pdf
 
 
 
Laboratory #5 Documents
 
o      
Remember to include problem #4 from lab #4 with your
lab 5 submission!
 - A
     nearly complete implementation of convolution: my_filt.m
 
 - A
     function for creating gaussian smoothing filters: g_smooth.m
 
 
 
 Laboratory #6 Documents
 
 - Laboratory
     assignment #6: lab6.pdf
 
 - A
     nearly complete function that generates DTMF signals: dtmf_dial.m
 
 - A
     function for characterizing bandpass filters for designing a DTMF decoder:
     dtmf_filt_char.m
 
 - A
     nearly complete function that decodes DTMF signals: dtmf_decode.m
 
 - A
     function for “attacking” the DTMF decoder with a specified amount of
     noise: dtmf_attack.m
 
 
 
 Laboratory #7 Documents
 
 - Laboratory
     assignment #7: lab7.pdf
 
 - Matlab
     MAT file containing two vowel sounds for this laboratory: lab7_vowels.mat
 
 - Function
     for visualizing the z-plane in three dimensions (demo, not required for
     lab): show_z.m
 
 - Function
     for creating a prototypical glottal source signal: glottal_source.m
 
 - The Pole
     Zero Place GUI (requires Matlab 6.0 or higher): pole_zero_place.m
 
 - Required
     figure for Pole Zero Place: pole_zero_place.fig
 
o      
Note that glottal_source.m is required to use the “Play
Sound” feature of Pole Zero Place
 
 
 Laboratory #8 Documents
 
o      
There is an error in the background section, pg 2,
section 8.2.2.  In the second paragraph,
the text talks about flower lengths in inches, even though the figure has
flower lengths in centimeters.  As you
can tell from the figure, the two clusters are centered around 40 and 50 cm,
and the decision threshold should be 44 cm. 
Sorry for any confusion this might cause.
o      
Another error… problem 5(c) should say: “Use dist_hist
to produce distance histograms for the spectral features.”
 - Matlab
     MAT file containing a vowels sound with spectrum and fundamental
     frequency: lab8_ah.mat
 
 - Matlab
     MAT file containing feature matrices with AR coefficients: lab8_features.mat
 
 - Function
     for extracting formants from a set of AR coefficients: extract_formants.m
 
 - Function
     for plotting distance histograms: dist_hist.m
 
o      
There was an error in dist_hist.m that was causing it
to calculate distance histograms incorrectly. 
Again, apologies for any inconvenience. (Fixed Sunday Nov 18 at 6pm)
o      
Note that this lab also requires Pole Zero Place
from Lab #7 for the first problem
o      
 
 
 Laboratory #9 Documents
o      
There are (at least) two minor typos on Page 8 of the
lab assignment.  First, in the first
paragraph of 9.4, it says, “there are two feature matrices, one to be used for
training and the other to be used for training.”  The second “training” should say “testing.”
o      
Also, in problem 1, the assignment says to download
“two_class.m.”  This file no longer
exists; it has been renamed “two_class_test.m”
 
 
 Laboratory #10 Documents
o      
Note that you will actually be returning the lab
handout for lab 10.  Copies will be
distributed in lab sessions this week (as usual), or they can be obtained from
the EECS 206 GSI room in EECS 4338.
o      
If you wish to print your own copy, please print double
sided for uniformity.  Thanks!
 
 
 
Last updated by mbartsch
on 12/3/2001 8:31:40
AM