Abstract:
Formerly used mainly by specialists in signal processing and numerical
analysis, MATLAB® in recent years has achieved widespread and enthusiastic acceptance throughout the engineering community. Many engineering schools now require a course based entirely or in part on MATLAB early in
the curriculum. MATLAB is programmable and has the same logical, relational,
conditional, and loop structures as other programming languages, such as Fortran,
C, BASIC, and Pascal. Thus it can be used to teach programming principles. In
most schools a MATLAB course has replaced the traditional Fortran course, and
MATLAB is the principal computational tool used throughout the curriculum. In
some technical specialties, such as signal processing and control systems, it is
the standard software package for analysis and design.
The popularity of MATLAB is partly due to its long history, and thus it is
well developed and well tested. People trust its answers. Its popularity is also due
to its user interface, which provides an easy-to-use interactive environment that
includes extensive numerical computation and visualization capabilities. Its
compactness is a big advantage. For example, you can solve a set of many linear
algebraic equations with just three lines of code, a feat that is impossible with traditional programming languages. MATLAB is also extensible; currently more
than 20 “toolboxes” in various application areas can be used with MATLAB to
add new commands and capabilities.
MATLAB is available for MS Windows and Macintosh personal computers
and for other operating systems. It is compatible across all these platforms, which
enables users to share their programs, insights, and ideas. This text is based on
MATLAB version 7.9 (R2009b). Some of the material in Chapter 9 is based
on the control system toolbox, Version 8.4. Chapter 10 is based on Version 7.4 of
Simulink®. Chapter 11 is based on Version 5.3 of the Symbolic Math toolbox.
TEXT OBJECTIVES AND PREREQUISITES
This text is intended as a stand-alone introduction to MATLAB. It can be used in
an introductory course, as a self-study text, or as a supplementary text. The text’s
material is based on the author’s experience in teaching a required two-credit
semester course devoted to MATLAB for engineering freshmen. In addition,
the text can serve as a reference for later use. The text’s many tables and its
referencing system in an appendix have been designed with this purpose in mind.
A secondary objective is to introduce and reinforce the use of problemsolving methodology as practiced by the engineering profession in general and