Hi,

If i have a vector in MATLAB v;

`v = [1 2]`

How can i push a value say '7' to the vector.

ie.

v =

1

2

7

I am currently doing it in a loop:

count = 0

ie. for 1 to 10

count = count + 1;

v(count) = <insert function here>

which is not ideal

sorry for poor syntax, trying to help out a mate who does matlab, i'm a c++, java guy...