
Using the Action Menu
uaugment
Function: Returns an augmented vector
Syntax: augment
Example: To augment vectors [1, 2] and [3, 4]
Menu Item: [Action][Vector][augment]
ufill
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]
udim
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.
uunitV
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]
20060301