Commands for row and column vector in Matlab
Here are some of the commands to create a row and column vector in Matlab:
% Commands to create rows and column vector in Matlab
% Row vector
A=[1 2 3 1]
% Column vector
B=[1;8;5;8]
% to create a row vector from a range of \'a\' to \'b\'
C=[2:4]
% to create a matrix of 3*3
D=[1 2 3;4 5 6;7 8 9]