Commands to create a row and column vector in Matlab
for a row vector
t = [1:5]
here t is a matrix with 1 row and 5 columns
for a column vector
s = [1:5]\'
here s is matrix with 5 rows and 1 column
for a row vector
t = [1:5]
here t is a matrix with 1 row and 5 columns
for a column vector
s = [1:5]\'
here s is matrix with 5 rows and 1 column