Arrays and matrices, Creating arrays, Using matrix writer – HP 49g Graphing Calculator User Manual

Page 163: Arrays and matrices -7, Creating arrays -7, Using equation writer -4, Arrays, Matrices, 0 (mb

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

Advertising
background image

5. Press

0

© 5 ©Q 6

0O

7.

6. Press ®

The cursor is now outside the list of the populations to be sampled.

7. Press 004

8. Press (ENTER).

The answers are retiumed in a list: {5 15 351.

Note that the command was applied to two parameters—the list of the

various populations, and the size of the sample—each separated by a

comma within a pair of braces.

Arrays

and

matrices

An army is any rectangular arrangement of objects. An array of

numbers—real or complex—is usually referred to as a matrix.

You can create arrays from many types of objects: real numbers, complex

numbers, syiubolic expressions, character strings, programs and so on.

You could, for example, create a database—such as a list of contacts and
their telephone numbers—as a type of array.

Creating arrays

Using Matrix Writer

You create an

aiTay

with a special tool called Matrix Writer. You open

Matrix Writer by pressing

0

r

l - l ! _________________________

Wlren you open the Matrix Writer, the
display becomes a table, with the rows and
columns numbered like a spreadsheet. The
size of the array is indicated by the figures
in the top left-hand comer of the table.

(The size is 0 x 0 at the start, but this

increases as you enter objects into the array.) The row-column

coordinates of the currently active cell are shown at the bottom left-hand

comer of the display.

To create an array using Matrix Writer:

1. Press

0 (MB

to open Matrix Writer.

2. Enter the object that is to appear in the first cell of the array.

This object appears on the command line as you type it.

Vectors, Lists, arrays, and matrices

Page 8-7

Advertising