beautypg.com

Using matrices, Creating and storing matrices, Creating and storing matrices -1 – HP 38g Graphing Calculator User Manual

Page 131

Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".

background image

6

Using Matrices

Vectors

Matrices

Matrix

Variables

You can do matrix calculations in Home (and in programs).

The matrix

and each row

of a matrix appear in brackets, and

the elements and rows are separated by commas, such as

[ [ 1 , 2 , 3 ] , [ 4 , 5 , 6 ] ] for

"1 2 3“

4 5 6

(If the Decimal Mark in MODES is set to Comma, then the

separators are periods.)

Vectors are one-dimensional arrays. They are composed of

just one row or one column. In this calculator, a vector is

represented with single brackets; for example, [ 1 , 2 , 3 ] .

Matrices are two-dimensional arrays. They are composed of

more than one row and more than one column. A true, two-

dimensional matrix always is represented with nested

brackets; for example, [ [ 1 , 2 , 3 ] , [ 4 , 5 , 6 ] ] .

There are ten matrix variables available, named Ml through

M9 and MO. You can use them in calculations or

manipulations in Home or in a program. You can fetch the

matrix names from the VAR menu, or just type their names

from the keyboard.

Creating and Storing Matrices

You can create, edit, delete, send, and receive named

matrices in the Matrix catalog (■

[MATRIX]),

You can also create and store matrices-

unnnamed—in Home.

-named or

Using Matrices 6-1