Matrices
427
You can also create an identity matrix using the
MAKEMAT
(
make matrix
)
function. For example, entering
MAKEMAT
(I
≠
J,4,4) creates a 4 ×
4 matrix showing the
numeral 1 for all elements except zeros on the diagonal.
The logical operator (
≠
) returns 0 when I (the row number)
and J (the column number) are equal, and returns 1 when
they are not equal. (You can insert
≠
by choosing it from
the relations palette:
Sv
.)
Transposing a
Matrix
The
TRN
function swaps the row–column and column–row
elements of a matrix. For instance, element 1,2 (row 1,
column 2) is swapped with element 2,1; element 2,3 is
swapped with element 3,2; and so on.
For example,
TRN([[1,2],[3,4]])
creates the matrix
[[1,3],[2,4]]
.
Reduced-Row
Echelon Form
The set of equations
can be written as the augmented matrix
which can then be stored
as a
real matrix in
any matrix variable. M1
is used in this example.
You can then use the
RREF
function to change
this to reduced-row
echelon form, storing it in
any matrix variable. M2
is used in this example.
x
2
y
–
3
z
+
14
2
x y z
–
+
3
4
x
–
2
y
–
2
z
+
14
=
=
=
1 2
–
3 14
2 1
1
–
3
–
4 2
–
2 14
3 4
Summary of Contents for NW280-200X
Page 1: ...HP Prime Graphing Calculator User Guide ...
Page 4: ......
Page 56: ...50 Reverse Polish Notation RPN ...
Page 64: ...58 Computer algebra system CAS ...
Page 107: ...An introduction to HP apps 101 ...
Page 108: ...102 An introduction to HP apps ...
Page 188: ...182 Spreadsheet these variables is provided in chapter 21 Variables beginning on page 373 ...
Page 220: ...214 Statistics 2Var app ...
Page 252: ...246 Linear Solver app ...
Page 258: ...252 Parametric app ...
Page 268: ...262 Sequence app ...
Page 404: ...398 Units and constants ...
Page 416: ...410 Lists ...
Page 442: ...436 Notes and Info ...
Page 532: ...526 Limiting functionality ...
Page 536: ...530 ...
Page 540: ...534 ...