2-8-39

Using the Action Menu

Saugment

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]

Sfill

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]

Sdim

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.

SunitV

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