
2 Matrices and Arra ys
More About Matrices and Arrays
In this section.. .
“Linear Algebra” on page 2-20
“Arrays” on page 2-24
“Multivariate D ata” on page 2-26
“Scalar Expansion” on page 2-27
“Logical Subscripting” on page 2-27
“The find Function” on page 2-28
Linear Algebra
Informally, the terms matrix and array are often used interchangeably. More
precisely, a matrix is a two-dimensional numeric a rray that represents a
linear transformation. The mathematical operations defined on matrices are
the subject of linear algebra.
Dürer’s magic square
A=[16 3 2 13
51011 8
96712
41514 1]
provides se veral examp les that give a tas te of MATLAB matri x operations.
You h ave already seen the matrix transpose,
A'. Adding a matrix to its
transpose produces a sym m etric matrix:
A+A'
ans =
32 8 11 17
8201723
11 17 14 26
17 23 26 2
2-20
Comentários a estes Manuais