HP 40gs User Manual

Page 319

Advertising
background image

Matrices

18-5

To display a matrix

In the Matrix catalog (

MATRIX

), highlight the

matrix name and press

.

In HOME, enter the name of the matrix variable and
press .

To display one
element

In HOME, enter matrixname(row,column). For example,
if

M2 is [[3,4],[5,6]], then M2(1,2)

returns

4.

To create a matrix
in HOME

1. Enter the matrix in the edit line. Start and end the

matrix and each row with square brackets (the shifted

and

keys).

2. Separate each element and each row with a comma.

Example:

[[1,2],[3,4]].

3. Press

to enter and display the matrix.

The left screen below shows the matrix
[[2.5,729],[16,2]] being stored into M5. The
screen on the right shows the vector

[66,33,11] being

stored into M6. Note that you can enter an expression
(like 5/2) for an element of the matrix, and it will be
evaluated.

Moves to the first row, last row, first
column, or last column respectively.

Key

Meaning (Continued)

hp40g+.book Page 5 Friday, December 9, 2005 1:03 AM

Advertising
This manual is related to the following products: