A row and column vector in Matlab
Objective: In linear algebra, a column vector or column matrix is an m × 1 matrix, that is, a matrix consisting of a single column of m elements, Similarly, a row vector or rowmatrix is a 1 × m matrix, that is, a matrix consisting of a single row…