After performing the procedure under “Inputting Matrix Values with the Keyboard”, perform the following operation.
SClassPad Operation
value “5” to the element at row 1 column 2 in “mat1”, which produces the matrix
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 1 5 3 4
2-6-2
Matrix and Vector Calculations
IMatrix Variable Element Operations

.

(1)Recall the value in row 2, column 1 of MATRIX variable “mat1”.K?R@:A @;U

λ λ

Row Column

(2)Assign “5” to the element at row 1, column 2 of MATRIX variable “mat1”.D6K?R@:@ A;U

Tip

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

Example: ::@ A;:B C;;U 1 2

3 4

#:A @;U 3

20060301