%% Construct Open-Loop Gain and Phase Object
% Construct an open-loop gain and phase object, and specify gain and phase requirements.

r = sdo.requirements.OpenLoopGainPhase;
set(r,'BoundPhases',[-120 -120; -120 -150; -150 -180],...
      'BoundGains',[20 0; 0 -20; -20 -20]);

%
% Alternatively, you can specify the gain and phase requirements during construction.

r = sdo.requirements.OpenLoopGainPhase('BoundPhases',...
		[-120 -120; -120 -150; -150 -180],'BoundGains',...
		[20 0; 0 -20; -20 -20]);

% Copyright 2015 The MathWorks, Inc.