2-6-2

Matrix and Vector Calculations

kMatrix Variable Element Operations

You can recall the value of any element of a MATRIX variable. When the data

1 2

3 4

is assigned to matrix “mat1”, for example, you can recall the element located at row 2,

 

 

 

column 1.

 

 

 

 

 

You can also assign a value to any element in a matrix. For example, you could assign the

 

 

value “5” to the element at row 1 column 2 in “mat1”, which produces the matrix

 

1

5

 

.

 

3

4

 

 

 

 

After performing the procedure under “Inputting Matrix Values with the 9 Keyboard”, perform the following operation.

u ClassPad Operation

(1)Recall the value in row 2, column 1 of MATRIX variable “mat1”.

0matb9[c,b]w

↑ ↑

Row Column

(2)Assign “5” to the element at row 1, column 2 of MATRIX variable “mat1”. fW0matb9[b,c]w

Tip

You can also perform the above operations on the “ans” variable (page 2-2-2) when it contains MATRIX data.

Example: [[b,c][d,e]]w

 

 

1

2

 

 

 

3

4

D[c,b]w

3

 

 

20050501