2-52
Example 1
To assign 10 to the cell at row 1, column 2 of the following matrix:
Matrix A =
1 2
3 4
5 6
ba
a
K
2
(MAT/VCT)
1
(Mat)
av
(A)
!
+
(
)
b,c
!
-
(
)
w
• The “Vct” command can be used to assign values to existing vectors.
Example 2
Multiply the value in the cell at row 2, column 2 of the above matrix by 5
K
2
(MAT/VCT)
1
(Mat)
av
(A)
!
+
(
)
c,c
!
-
(
)
*f
w
• The “Vct” command can be used to recall values from existing vectors.
u
To fill a matrix with identical values and to combine two matrices into a
single matrix
[OPTN]
-
[MAT/VCT]
-
[Fill(]/[Augment]
Use the Fill( command to fill all the cells of an existing matrix with an identical value and the
Augment command to combine two existing matrices into a single matrix.
Example 1
To fill all of the cells of Matrix A with the value 3
K
2
(MAT/VCT)
6
(
g
)
3
(Fill( )
d,
6
(
g
)
1
(Mat)
av
(A)
)
w
• The “Fill” command can be used to write the same value into all vector elements.
Example 2
To combine the following two matrices:
K
2
(MAT/VCT)
5
(Augment)
1
(Mat)
av
(A)
,
1
(Mat)
al
(B)
)
w
• The two matrices you combine must have the same number of rows. An error occurs if you
try to combine two matrices that have different number of rows.
• You can use Matrix Answer Memory to assign the results of the above matrix input and edit
operations to a matrix variable. To do so, use the following syntax.
Augment (Mat
α
, Mat
β
)
→
Mat
γ
In the above,
α
,
β
, and
γ
are any variable names A through Z.
The above does not affect the contents of Matrix Answer Memory.
• The “Augment” command can be used to merge two vectors into a single matrix.
1
2
Matrix A =
Matrix B =
3
4
1
2
Matrix A =
Matrix B =
3
4
Summary of Contents for FX-CG10
Page 555: ...E CON3 Application English...