% define dynamics sysdef % (a) Your code here, generating properly dimensioned G and K matrices % -- make sure size(G)=[6 1] and size(K)=[1 6] % -- I will be using Matlab 6.1 to run this script % (b) More of your code here, generating a bode plot of you compensator % (c) My code, which calls plotting and damping determination subroutines % -- make sure A,B, and C are not altered by your code, otherwise mine won't work % -- use appropriate sign conventions plotkf(A,B,C,G) plotlqg(A,B,C,K,G)