Commands to create row and column vectors in matlab
Objective: \'ones\' , \'zeros\', \'linspace\' , \'logspace\' are the commands used for creating a row and column vector in MATLAB To create a row vector of length 5, \'ones\' command can be used as >> x = ones(1,5) To create a column vector of length 5, \'zeros\' command can be used as >> y = zeros(5,1)