%% Matrix-Vector Arithmetic
%

%%
% Create a row vector
b = [1 2 3 4]

%%
% a column vector
c = [2; 4; 6]

%%
% and a matrix
A = [1 2 3; 2 3 4; 5 6 7; 8 9 0]

%%
% Two different matrix-vector products
b*A

%%
% or
A*c

%%
% Many MATLAB functions accept matrix arguments
sqrt(A)

%%
sin(b)

%%
exp(c)

%%
% Other component-wise operations are done using the *.* operator
b.^2

%%
% The following is also possible
A.^A

