ECE 203: Introduction to MATLAB Programming

 

 

Instructor

 

Dr. Russell C. Hardie

Department of Electrical and Computer Engineering

KL 341-F

Email: rhardie@udayton.edu

 

Office Hours:  

·        Tuesday and Wednesday: 1:00PM - 3:00PM

·        By appointment

 

Class Information

 

·        Meeting Time and Place:

·        ECE203-01 Wednesday          10:00 - 10:50AM, KL-213

·        ECE203-02 Friday                  10:00 - 10:50AM, KL-213

·        Course website:  http://homepages.udayton.edu/~rhardie1/ECE203/ECE203.htm

 

Learning Goals and Objectives

 

Learning Goal:  Students will be able to use MATLAB to solve basic quantitative engineering problems.

 

Objectives

1.     Students will be able to effectively use MATLAB as a plotting calculator to aid them in classes and as practicing engineers.

2.     Students will be able to convert relevant mathematical equations into a form suitable for evaluation in MATLAB, evaluate that MATLAB code, plot the variables and interpret the results (using script .m files).

1.     Students will be able to read and write multiple data types using MATLAB (.mat files, .wav, .jpg, etc.) and interact with that data (using plotting, image display, sound playing, etc.).

2.     Students will be able to use the data acquisition toolbox in MATLAB to acquire audio data from a microphone, plot and process that digital data.

3.     Students will be able to use loops, conditional operations, and relational operations to perform basic programming using MATLAB.

4.     Students will be able to create user-defined MATLAB functions (function .m files) for processing “chores” that are done multiple times (but using possibly different data or parameters).

5.     Students will be able to analyze and simulate simple continuous linear systems using the MATLAB controls toolbox and Simulink.

 

Measures

·        Projects

·        Homework

·        Class participation

 

Textbook

 

Amos Gilat, MATLAB An Introduction With Applications, Edition 4, Wiley 2010

 

Reference Texts

 

·        W. J. Palm, Introduction to MATLAB 6 for Engineers, McGraw-Hill, 2001.

 

·        Mathworks Tutorial

o   http://www.mathworks.com/academia/student_center/tutorials/introduction/player.html

 

Grading

 

Course grades are assigned based on the following scheme:

 

Homework: 30%

Design Projects: 70%

 

Course Outline

 

The following provisional course outline has been prepared as a tentative guide only.  The pace of the course may vary.

 

 

Day

Topics

Textbook

Learning Objective

1

Introduction to MATLAB, M-files, and input/output (I/O)

Chp. 1

1

2

Defining and indexing arrays

Scalar and array operations

Chp. 2

Chp. 3

1, 2

3

Processing sound data (.wav files)

(bring headphones – 1/8” jack)

MATLAB data files

N/A

 

Chp. 4

3

4

Data acquisition from microphone
Introduce Design Project 1:
Speech Recognition

N/A

 

4

5

2-D plotting and animated plots.  Evaluating and plotting mathematical equations.

Chp. 5

1-4

6

Relational and logical operators, conditional statements and loops

Chp. 6

5

7

Built-in and user-defined functions

Chp. 7

6

8

Polynomials, curve fitting and interpolation

Chp. 8

1,2,5

9

Numerical analysis

Chp. 9

1-6

10

Linear systems analysis using controls toolbox and Simulink

N/A

7

11

3-D plots

Chp. 10

1-4

12

Introduce Design Project 2: TBD

 

13

Symbolic Math

Chp. 11

1-2

14

Image Processing

N/A

3,5,6

15

Cell arrays, structures, GUIs

N/A

1-7