MATLAB: Define a column series

matrix definition

I usually define a row matrix as below:
t=1:1:10
How can I define a column matrix in this way.
Thanks

Best Answer

t = (1:10).'
%Or
t(:) % from your example