20060301
u
augment
Function: Returns an augmented vector [Mat-1 Mat-2].
Syntax: augment (Mat-1, Mat-2 [
)
]
Example: To augment vectors [1, 2] and [3, 4]
Menu Item: [Action][Vector][augment]
u
fill
Function: Creates a vector that contains a specific number of elements, or replaces the
elements of a vector with a specific expression.
Syntax: fill (Exp, Mat [
)
]
fill (Exp, 1, number of columns [
)
]
Example: To replace the elements of the vector [1, 2] with
x
Menu Item: [Action][Vector][fill]
Example: To create a 1
×
3 (1 row, 3 columns) vector, all of whose elements are “3”
Menu Item: [Action][Vector][fill]
u
dim
Function: Returns the dimension of a vector.
Syntax: dim (Mat [
)
]
Example: To determine the dimension of the vector [1, 2, 3]
Menu Item: [Action][Vector][dim]
• The vector [1, 2, 3] is handled as a 1
×
3 matrix.
u
unitV
Function: Normalizes a vector.
Syntax: unitV (Mat [
)
]
• This command can be used with a 1
×
N or N
×
1 matrix only.
Example: To normalize the vector [1, 3, 5]
Menu Item: [Action][Vector][unitV]
2-8-39
Using the Action Menu