% data for Exercise Set 3.3

ex = input('Exercise number (1-12)? ');

if ex==1
   A = [6 -12;-2 4]
   disp('Think before you compute.') 
elseif ex==2
   A = [-4 16;3 -9]
   disp('Think before you compute.') 
elseif ex==3
   A = [5 0 3;7 0 2;9 0 1]
   disp('Think before you compute.') 
elseif ex==4 
   A = [5 3 2;0 7 1;0 0 9]
   disp('Think before you compute.') 
elseif ex==5 
   A = [1 -7 5;1 -4 -1;-2 8 -3] 
elseif ex==6 
   A = [0 2 5;-2 0 7;1 3 4] 
elseif ex==7 
   A = [5 -9 3;0 3 4;1 0 3] 
elseif ex==8 
   A = [1 4 2;2 7 3;1 7 5] 
elseif ex==9 
   A = [1 3 0 -1;0 1 -2 -1;-2 -6 3 2;3 5 8 -3]  
elseif ex==10
   A = [1 0 0 0;2 5 0 0;3 6 8 0;4 7 9 10]'
   disp('Think before you compute.') 
elseif ex==11
   A = [1 0 0 0;2 5 0 0;3 6 8 0;4 7 9 10]
   disp('Hint: Look at  A''.')
elseif ex==12
   A = [1 3 -5;0 2 -3;0 -4 7;-1 5 -8] 
else
   disp('No data for this exercise in Section 3.3.')
end
