ECE-2025 COMPUTER LAB ASSIGNMENTS

ECE-2025 COMPUTER LAB ASSIGNMENTS

TD.header { vertical-align: baseline; color: white; background-color: rgb(55,255,55); font-family: sans-serif; font-weight: bold; text-align: center }
TD.row1 { color: black; background-color: rgb(255,255,220); font-family: sans-serif; text-align: left }
TD.row2 { color: black; background-color: rgb(230,230,230); font-family: sans-serif; text-align: left }

ECE-2025 Lab Assignments
Spring-2004




The labs are posted in Adobe’s PDF format. You may
obtain a copy of the Adobe Acrobat Reader for
free from http://www.adobe.com.


Special instructions are noted on each assignment.

In general, Lab reports are due one week after doing the supervised warm-up.

Lab reports are due at the beginning of lab;
Labs turned in later on the same day will lose 5 points.


Please get the SP-First Toolbox M-files from
this link.

Un-zip and put these files at the BEGINNING of your MATLAB path.



Labs



























































































**
NOTE: The FAQs were created from questions and comments on the labs during
the previous semester(s). Thus, there might be some differences in cross-referencing
sections of the labs for this semester.
Description Lab Dates FAQ** Supporting Material & Links
Lab #1

Intro to MATLAB
12-15 Jan 04 FAQ

Getting Started with MATLAB
(2.6 Megabyte PDF file from Mathworks)

Little
Bits of MATLAB
(Old MATLAB tutorial)


Another MATLAB Tutorial
(written by Prof. Heck of ECE)
Lab #2

Complex Exponentials
20-26 Jan 04 FAQ
This lab requires two supporting files:
Lab02data.zip which contains some test data
in the MAT file Lab02data.mat, and
sensordatagen.zip which is a ZIP file containing
sensordatagen.p, the p-code for generating amplitude and phase data at the sensors from a sinusoidal source.

Tutorial movie about MATLAB’s notebook capability
in a ZIP file (9.8Mb).
Unzip to get the AVI file which should be viewed with Camtasia Player which can be obtained here: camplay.exe in a ZIP file.

Please get the latest ZIP file of the SP-First M-files.

Lab#3

AM & FM Signals
27-Jan to 2-Feb 04 No FAQ available
Please bring headphones to lab

The latest version of CNT can be obtained from CNT EXE. It is a Flash program
that runs on Windows only.

OLDER version is here: CNT EXE

Lab #4

Music Synthesis

3-9 Feb Lab-4 FAQ
coscos.m (test file for
debugging in the preLab).


Song is “Jesu, Joy of Man’s Desiring”

Uses two data files in MATLAB binary format:
Jesu04.mat contains information about key numbers and types for the entire song.
Jesu04short.mat contains only the first 3 measures (useful for debugging).
Data is stored in MATLAB structures called Treble and Bass.

Download this Jesu04.zip archive.
Un-zip to get Jesu04.mat and Jesu04short.mat as well as a copy of the
sheet music for Bach’s Jesu, and a WAV file with a piano recording.



Help on Structures in MATLAB
Lab #5

Digital Images: A/D and D/A
11-17 Feb

Lab-5 FAQ

Uses three image data files in binary format:
lighthouse.png, stinger04.png and
stinger04q.png.
Download the lab05s04images.zip archive,
and un-zip.

Some useful information is available in printing-multiple-images.
Lab #6

FIR Filtering: Image Interpolation
18-24 Feb Lab-6 FAQ
Images are in the data file Lab06s04files.zip file
which includes the two images peppers.png and
motorcycles.png and their CFA versions in PNG format.
It also includes new versions of show_img.m and
trusize.m that can display color images. Replace these in the SP-First Toolbox,
or download the latest version, v1.09 and update the entire toolbox.

Information on color printing in the Library West Commons.

CON2DIS and DCONVDEMO should be on the MATLAB path in the ECE-2025 Lab, or in the SP-First Toolbox, or you can get them individually at Educational GUI page

**** A new version (v3.06) of DCONVDEMO is available. It has the User Signal capability.

If you have an older version of DCONVDEMO (pre v3.06), then you would have to do Section 3.2 of the Warm-up using this page.

Lab #7

Nulling Filters
25 Feb – 2 Mar Lab-7 FAQ
Data file is Lab07s04image.zip file which contains a MAT file called Lab07s04image.mat
DLTIDEMO should be on the MATLAB path in the ECE-2025 Lab, or you can download it from the GUI page
Lab #8

Filter Design: BPF
15-18 Mar Lab-7 FAQ is applicable

Data file is Lab8s04sig zip file
DLTIDEMO should be on the MATLAB path in the ECE-2025 Lab, or you can download it from the GUI page
Lab #9

Touch-Tone Dialing/Detection
22-25 Mar Old Lab-8 FAQ Data file is
lab09s04sigs.zip file. It also contains
the ttonecut function.
Lab #10

Continuous-Time GUIs
29 Mar – 1 Apr No FAQ available
CLTIDEMO should be on the MATLAB path in the ECE-2025 Lab,
or you can get it from the GUI page

CCONVDEMO is on the MATLAB path, or get it from the GUI page

FSERIESDEMO is on the MATLAB path, or get it from the GUI page
Lab #11

AM Communication System
5-8 Apr Old Lab-11 FAQ

Both signal files are in
lab11s04.zip

lab11s04.mat (811K) contains the “mystery signal” for QAM demodulation.

harp2k.mat (935K) contains two “real signals” for testing.
Lab #12 (part one)

PeZ GUI intro
12-15 Apr No FAQ available
No Lab report. Warm-up only, so this must be done entirely in-Lab.

Latest PeZ,
pezmovie.zip,
has the “ray” feature in the Options Menu.

In order to run it, unzip, add the pezmovie directory
to your MATLABPATH, and then use pezmovie at the MATLAB prompt.
Lab #12 (part two)

PeZ: 2nd-order IIR
19-22 Apr No FAQ available
No Lab report. Warm-up only, so this must be done entirely in-Lab.