% data for Exercise Set 2.6
        
ex = input('Exercise number (23-30)? ');
        
if ex==23
   A = [1 1;4 7], u = [-2;-5]
elseif ex==24
   A = [1 2;-1 -3;-3 -2], u = [-4;7;0]
elseif ex==25 | ex==27
   A = [1 -2 3;4 9 -8]
elseif ex==26 | ex==28
   A = [1 3;2 -6;0 1;5 0]
elseif ex==29  
   A = [1 1 0 0;0 1 1 0;0 0 1 1;0 0 0 0]
elseif ex==30
   A = [1 0 0;4 1 0;0 0 1]
else
   disp('No data for this exercise in Section 2.6.')
end
