to create a row vector column vector and matrix
%to create a row vector
r=[45,56,67]
%to create row vector method 2
s=[13 23 37]
%to create a column vector
c=[4;5;6]
%to create column vector method 2
d=[1
2
3]
%to create a matrix
m=[1,2,3;44,5,6;7,8,9]
%to create a matrix method 2
b=[1 2 3
4 5 6
7 8 9]