Row and Column Matrix
% Various methods for Row-vector making
a= [ 1 2 3 4 5] %entering direct values
a1= [1,2,3,4,5] % using commas to seperate the elements
b=1:50 %incremental without the use of \'\'[]\'\'
c=[1:50] %Incremental with \'\'[]\'\'
c=[1:0.1:2] % With an increment of 0.1
a= rand(1,5) %using random command to create a random (1,5) matrix
% Various methods for Colomn-vector making
a= [1; 2 ; 3 ;4; 5;6] % entering direct values
b= rand(6,1) % to craeate a matrix of 1 row and 6 columns