vec2col — vector into column vector
[x]=vec2col(x)
1) vec2col([3:7]) 2) vec2col([3:7]') 3) grocer_init=vec2col(grocer_init) Examples 1 and 2 give the matrix: ! 3. ! ! 4. ! ! 5. ! ! 6. ! ! 7. ! Example 3, taken from nls, transforms into a column vector the vector of starting values for the optimisation algorithm. This allows the user to give either a column or a row vector and therefore facilitates her life.