Section 2
Matlab Technical Computing
Environment
Matlab provides a technical computing environment designed to support the implementation of
computational tasks.
Briey, Matlab is an interactive computing environment that enables numerical computation and

Section 7
Data Analysis
Outline
Maximum and minimum
Sums and products
Statistical analysis
Random number generation
The purpose of data analysis is to determine some properties and characteristics of the data, which
may contain measurement errors or o

Section 4
Trigonometry and Complex Numbers
In this section, we will consider in greater detail two scalar mathematics tools that are important
to engineers: trigonometry and complex numbers. We will nd that these two topics are closely
related.
4.1
Trigon

Section 3
Files and File Management
In using Matlab, you will read and write several types of les, or collections of computer data. In
this section, you will learn
File management denitions and commands
Saving and restoring information
Script M-les
Er

Section 11
Integration and Dierentiation
Integration and dierentiation are the key concepts presented in the rst two calculus courses
and they are fundamental to solving many engineering and science problems. While many of these
problems can be solved ana

Section 10
Curve Fitting and Interpolation
Curve tting: Finding a function (curve) y = f (x) that best ts a set of measured x values
and corresponding y values.
Interpolating: Estimating the value of yi corresponding to a chosen xi having value between th

Section 9
Vectors, Matrices and Linear Algebra
A matrix is a two-dimensional array, as introduced in Section 7.2, where matrix addressing and
methods of array creation were described. In Section 7.3, scalar-array mathematics and element-byelement array ma

Section 6
Mathematical Functions and
Applications
Outline
Signals
Polynomials
Partial fraction expansion
Functions of two variables
User-dened functions
Plotting functions
6.1
Signal Representation, Processing, and Plotting
As we have seen, one appl

Section 5
Arrays and Array Operations
Scalars: Variables that represent single numbers, as considered to this point. Note that complex
numbers are scalars, even though they have two components, the real part and the imaginary part.
Arrays: Variables that

Section 8
Selection Programming
A selection statement allows a question to be asked or a condition to be tested to determine which
steps are to be performed next. The question or condition is dened using relational and logical
operators, which will be des