numElements=10;
%Create 1x10 row vector filled with zeros rowVector=zeros(1,numElements) %Create 1x10 column vector filled with ones colVector=ones(numElements,1)
colVector(5)=10 %Store the value 10 in the fifth element of colVector rowVector(2)=22 %Store the value 22 in the second element of rowVector