% data for Exercise Set 8.3

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

if ex==1 | ex==3
   A = [5 2 0;2 6 -2;0 -2 7]  
elseif ex==2 | ex==4
   A = [3 1 1;1 2 2;1 2 2] 
elseif ex==5
   A = [5 -2;-2 5] 
elseif ex==6
   A = [7 3/2;3/2 3] 
elseif ex==7
   A = [-2 2 0;2 -1 2;0 2 0] 
elseif ex==8
   A = [7 -4 -2;-4 1 -4;-2 -4 7] 
elseif ex==9
   A = [7 -1;-1 3] 
elseif ex==10
   A = [-3 -1;-1 5] 
else
   disp('No data for this exercise in Section 8.3.')
end
