2-42
Example To input the following data as Matrix A:
( [ )( [ )@BD
( ] )( [ )ACE
( ] )( ] )?*(MAT)
(Mat)?T(A)
U
Matrix name
• The maximum value of both m and n is 999.
• An error occurs if memory becomes full as you are inputting data.
• You can also use the above format inside a program that inputs matrix data.
S To input an identity matrix [OPTN]-[MAT]-[Iden]
Use the Identity command to create an identity matrix.
Example To create a 3 s 3 identity matrix as Matrix A
*(MAT)(E)(Iden)
B?(E)(Mat)?T(A)U
Number of rows/columns
S To check the dimensions of a matrix [OPTN]-[MAT]-[Dim]
Use the Dim command to check the dimensions of an existing matrix.
Example 1 To check the dimensions of Matrix A
*(MAT)(E)(Dim)
(E)(Mat)?T(A)U
The display shows that Matrix A consists of two rows and three columns.
Since the result of the Dim command is list type data, it is stored in ListAns Memory.
You can also use {Dim} to specify the dimensions of the matrix.
Example 2 To specify dimensions of 2 rows and 3 columns for Matrix B
( H )AB( J )?
*(MAT)(E)(Dim)
(E)(Mat)?J(B)U
S Modifying Matrices Using Matrix Commands
You can also use matrix commands to assign values to and recall values from an existing
matrix, to fill in all cells of an existing matrix with the same value, to combine two matrices into
a single matrix, and to assign the contents of a matrix column to a list file.
1 3 5
2 4 6
1 3 5
2 4 6