beautypg.com

HP Prime Graphing Calculator User Manual

Page 474

background image

470

Matrices

devise to store a vector or matrix. The new variable will
appear in the Vars menu under

.

The screen at the right
shows the matrix

being stored in M5. Note
that you can enter an
expression (like 5/2) for
an element of the matrix, and it will be evaluated upon
entry
The figure to the right
shows the vector [1 2 3]
being stored in the user
variable M25. You will
be prompted to confirm
that you want to create
your own variable. Tap

to proceed or

to cancel.

Once you tap

,

your new matrix will be
stored under the name
M25. This variable will
show up in the User
section of the Vars menu.
You will also see your
new matrix in the Matrix
Catalog.

To display a matrix

In Home view, enter the name of the vector or matrix and
press

E

. If the vector or matrix is empty, zero is

returned inside double square brackets.

To display one

element

In Home view, enter matrixname(row,column). For
example, if M2 is [[3,4],[5,6]], then
M2(1,2)

E

returns 4.

To store one

element

In Home view, enter value, tap

, and then enter

matrixname(row,column).
For example, to change the element in the first row and

2.5 729

16

2