To verify that the notch filter performs as expected, evaluate the total compensator C and
the open-loop response L and compare the Bode responses of G, C, L:
% Get tuned block values (in the order blocks are listed in ST2.TunedBlocks)
[g,LL,N] = getBlockValue(ST2,'Gain','Leadlag','Notch');
C = N * LL * g;
L = getLoopTransfer(ST2,'Notch',-1);
bode(G,C,L,{1e1,1e3}), grid
legend('G','C','L')
12 Loop-Shaping Design