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
Fall-2001




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
. It should work in version 3.0 or later, but it works best with version 4.


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.


*** TEMPORARY FIX for old m-files.

Please get the ZIP file that has updates for zvect.m, zcat.m, etc.

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 27-31 Aug-01 FAQ

Getting Started with MATLAB
(1.1 Mb PDF file from Mathworks)

Little
Bits of MATLAB
(Old MATLAB tutorial)


Another MATLAB Tutorial
(written by Prof. Heck)
Lab#2 4-10 Sept-01 FAQ
Uses one supporting file called
DF_gen.p.

Download DF_gen.p in binary, or in the DF_gen.zip archive

Un-zip to get DF_gen.p and then put this file in your current directory.

***11-Sept, DF_gen.p created in MATLAB ver 6 was removed; the version above was created by ver 5.2 of MATLAB.
Lab#3 11-18 Sept-01 No FAQ available
The beatcon.m function is in the DSP-First toolbox.

Lab #4

Music Synthesis
19-25 Sept-01

Lab-4 FAQ

coscos.m (test file for
debugging in the warm-up).

Song is “Fugue #2 for the Well-Tempered Clavier”

Here you can find a MIDI example of the Bach Fugue #2.

Uses two data files in MATLAB binary format:
bach_fugue.mat contains information about key numbers and durations for the entire song.
bach_fugue_short.mat contains only the first 3 measures (useful for debugging).
Data is stored in a MATLAB structure called theVoices.

Download this bach_fugue.zip archive.
Un-zip to get bach_fugue.mat and bach_fugue_short.mat

Sheet Music for Fugue #2 for the Well-Tempered Clavier

How to Plot the Spectrogram as an
Image


M-file to plot the
Spectrogram.
Make sure that you get the new spectgr.m also from the M-files link.

Help on Structures in MATLAB

Lab #5

Digital Images: A/D and D/A
26-Sept to 2-Oct

Lab-5 FAQ

Uses one image data file in MATLAB binary format:
lighthouse.mat
Download this lab05images.zip archive.
Un-zip to get lighthouse.mat Some useful information is available in printing-multiple-images.

Lab #6

FIR Filtering of Digital Images
3-Oct to 9-Oct

Lab-6 FAQ

Download this ZIP file for Con2Dis (v0.97):

CON2DIS illustrates aliasing and reconstruction for sampling.

It has BEEN TESTED on v5.3 and v6 of MATLAB for Windows & Linux.


DCONVDEMO should be on the MATLAB path in the VL-252 Lab

Or, you can get a
ZIP file here


Lab #7

Nulling Filters & Bandpass Filters
10-Oct to 23-Oct

Lab-7 FAQ

The GUIs can be downloaded from:
MATLAB GUI page.
DLTIDEMO will be needed for this lab.

Lab #8

Everyday Sinusoidal Signals
24-Oct to 30-Oct

Lab-8 FAQ


Download this dtmfcut.zip archive.

Lab #9

Two GUIs
31-Oct to 6-Nov

No FAQ available

The GUIs can be downloaded from:
MATLAB GUI page.

ZIP file for CCONVDEMO:

Continuous-time convolution

ZIP file for DCONVDEMO:
Discrete-time convolution (FIR filter implementation)

Lab #10

Numerical Evaluation of Fourier Series
7-Nov to 13-Nov

Lab-10 FAQ
 

Lab #11

Digital Communication: FSK Signals
14-Nov to 20-Nov

No FAQ available


Download the hammfilt.zip archive

The hammfilt(N,Wn) function will perform FIR filter design with the Hamming window. Works for both LPF and BPF.

Lab #12

FSK Demodulator & Decoder
26-Nov to 30-Nov

No FAQ available


Download the FSK_Lab12.zip archive

It contains test files and M-files needed to complete the lab.

Contest

FSK Challenge
2-Dec

No FAQ available


Download the FSK_1_start.zip archive

It contains the first signal to attack in the decoding.



FSK Challenge #2
3-Dec

No FAQ available


Download the FSK_2_start.zip archive

It contains the first signal to attack in the decoding.

Updated Info

for FSK Challenge #3
4-Dec

No FAQ available


Download the FSK_3_start.zip archive

It contains the first signal to attack in the decoding.