Texas Instruments TI-92 Calculator User Manual


 
240 Chapter 15: Data/Matrix Editor
15DATAMA.DOC TI-89/TI-92 Plus: Data/Matrix Editor (English) Susan Gullord Revised: 02/23/01 1:10 PM Printed: 02/23/01 2:17 PM Page 240 of 16
From the Home screen
or a program, you can
use the
NewData
command to create a
data variable that
consists of existing lists.
NewData data1,list1,list2
A
lthough you cannot
directly display a data
v
ariable on the Home
screen, you can display
a specified column or
element.
data1[1]
(data1[1])[1]
For example:
A matrix is a rectangular array of elements. When you create a
matrix in the Data/Matrix Editor, you must specify the number of
rows and columns (although you can add or delete rows and
columns later). In the Data/Matrix Editor, a matrix variable:
¦ Looks similar to a data variable,
but all columns must have the
same length.
¦ Is initially created with 0 in each
cell. You can then enter the
applicable value in place of 0.
From the Home screen or a
program, you can use
§
to
store a matrix with either of the
equivalent methods shown to
the right.
[[1,2,3][4,5,6]]
!
mat1
[1,2,3;4,5,6]
!
mat1
A
lthough you enter the matrix as
shown above, it is pretty printed in
the history area in traditional
matrix form.
Data Variable
(Continued)
Matrix Variable
Tip: After creating a matrix
in the Data/Matrix Editor,
y
ou can use the matrix in
any application (such as the
Home screen).
Note: Use brackets to refer
to a specific element in a
matrix. For example, enter
mat1[2,1] to access the 1st
element in the 2nd row.
Names of existing
list variables
Name of data variable
to create
Shows the size of the
matrix.
Element number in the
column
Column number
Column number
Name of data variable
row 2row 1
row 2
row 1
Displays column 1 of the variable data1.
Displays element 1 in column 1
of the variable data1.