Summary: AMERICAN UNIVERSITY OF BEIRUT
FACULTY OF ENGINEERING AND ARCHITECTURE
DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING
EECE691C Digital Signal Processing Laboratory 1
Introduction to MATLAB1
1 Overview and Goals
MATLAB will be used extensively in all the preparation for the succeeding labs. The goal
of this first assignment is to gain familiarity with MATLAB and build some basic skills in
the MATLAB language. As further reading, please consult the documentation available on
the www.mathworks.com website. There are several specific objectives in this lab:
1. Learn to use the help system to study basic MATLAB commands and syntax.
2. Write your own functions and m-file's in MATLAB.
3. Learn some advanced programming techniques for MATLAB, i.e., vectorization.
This warm-up section consists of a few simple exercises to review MATLAB commands you were
introduced to in the first lab session, and present some new concepts along the way. You are not
required to present a write-up for this section, however you are encouraged to go through it, to
facilitate your work in sections 3 and 4.
2.1 Basic Commands
The following exercises will begin your orientation in MATLAB.