%Lecture 4
%setup and solve the linear system
A = [1 1; 0 1];
b = [1;1];
x = A\b;

%display the system and its solution:
disp('Result of linear solve:');
disp('The coefficient matrix A is:');
disp(A)
disp('The right-hand side vector b is:')
disp(b)
disp('The solutuion x to Ax=b is:');
disp(x)
