Row and column vector operations in MATLAB
- How do we perform row and column vector operations:
Code for the above operations:
%Row vector operation
x = [1 2 3 4 5]
%Column vector operation
y = [6;7;8;9;10]Code for the above operations:
%Row vector operation
x = [1 2 3 4 5]
%Column vector operation
y = [6;7;8;9;10]