beautypg.com

To create an array filled with random integers, Assembling matrices, Assembling matrices -8 – HP 49g Graphing Calculator User Manual

Page 49: With random integers, Rows from a series of vectors

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

background image

To create an

array filled

with random integers

1. Select tlie Random Matrix comnaaird.

0 {Bm

CREATE RANM

2. Enter either:

• a list containing the dimensions of the desired random matrix:

{ rows, columns } or

® an existing array.

3.

Press

(ENTER).

The result is a random aiTay of the specified dimensions (or of the
dimensions of the specified array). The elements are integers within
the range -9 to 9.

Assembling matrices

To assemble a matrix

by

rows From a series of vectors

1. Select the Rows-to-Matrix command.

0 @1®

CREATE ROW ROW^

2. Enter each vector in the order you want them to appear in the matrix.

Enter the row 1 vector first, then the row 2 vector, and so on,
separating each vector with a comma.

3.

Enter the niunber of rows in the desired matrix.

4. Press (ENTE^.

The result is a matrix composed of the vectors you entered.

To assemble a matrix by columns From a series of vectors

1. Select the Columns-to-Matrix command.

0

fMATRiCEgl CREATE COLUMN COL^

2. Enter each vector in the order you want them to appear in the matrix.

Enter the column 1 vector first, then the colunui 2 vector, and so on,

separating each vector with a comma.

3.

Enter the nmnber of colunms in the desired matrix.

4. Press®®.

The result is a matrix composed of the vectors you entered.

Page 5-8

Matrices and linear algebra