MATLAB Tutorial
This tutorial is available as a supplement to the textbook Fundamentals of Signals and Systems Using
rd the Web and Matlab, 3 edition by Edward Kamen and Bonnie Heck, published by Prentice Hall.
The tutorial covers basic MATLAB commands that are used in introductory signals and systems
analysis. It is meant to serve as a quick way to learn MATLAB and a quick reference to the commands
that are used in this textbook. For more detailed information, the reader should consult the official
MATLAB documentation. An easy way to learn MATLAB is to sit down at a computer and follow
along with the examples given in this tutorial and the examples given in the textbook.
The tutorial is designed for students using either the professional version of MATLAB (ver. 7.01) with
the Control Systems Toolbox (ver. 6.1), the Signal Processing Toolbox (ver. 6.2.1), and the Symbolic
Math Toolbox (ver. 3.1) or using the Student Edition of MATLAB (ver. 7.0).
The topics covered in this tutorial are:
1. MATLAB Basics 2
A. Definition of Variables 2
B. Definition of Matrices 4
C. General Information 6
D. M-files 6
2. Fourier Analysis 9
3. Continuous Time System Analysis 11
A. Transfer Function Representation 11
B. Time Simulations 15
C. Frequency Response Plots 17
D. Analog Filter Design 18
E. Control Design 19
F. State Space Representation 20
4. Discrete-Time System Analysis 22
A. Convolution 22
B. Transfer Function Representation 22
C. Time ...
Voir