beautypg.com

Casio CLASSPAD 330 3.04 User Manual

Page 199

background image

20060301

S 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]

S 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

s 3 (1 row, 3 columns) vector, all of whose elements are “3”

Menu Item: [Action][Vector][fill]

S 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

s 3 matrix.

S unitV

Function: Normalizes a vector.

Syntax: unitV (Mat [ ) ]

• This command can be used with a 1

s N or N s 1 matrix only.

Example: To normalize the vector [1, 3, 5]

Menu Item: [Action][Vector][unitV]

2-8-39

Using the Action Menu