%% Nyquist Plot of Uncertain Dynamics
% Create a scalar ultidyn object with an internal name 'B', whose frequency response has a real part greater than 2.5.

B = ultidyn('B',[1 1],'Type','PositiveReal','Bound',2.5)

%
% Change the SampleStateDimension to 5, and plot the Nyquist plot of 30 random samples.

B.SampleStateDimension = 5; 
nyquist(usample(B,30))

% Copyright 2015 The MathWorks, Inc.