Name

vec2row — vector into row vector

CALLING SEQUENCE

[x]=vec2row(x)

PARAMETERS

Input

• x = (1 x n) or (n x 1) vector

Output

• x = (1 x n) vector

DESCRIPTION

Transforms a row or col vector into a row vector.

EXAMPLE


1) vec2row([3:7])

2) vec2row([3:7]')

 

Examples 1 and 2 give the matrix: 

!   3.    4.    5.    6.    7. !



               

AUTHOR

Eric Dubois 2002