Quantcast

Documentation Center

  • Trial Software
  • Product Updates

Create Uncertain LTI Dynamics

You can create a 1-by-1 (scalar) positive-real uncertain linear dynamics element, whose frequency response always has real part greater than -0.5. Set the SampleStateDim property to 5. View the properties, and plot a Nyquist plot of 30 instances of the element.

g = ultidyn('g',[1 1],'Type','Positivereal','Bound',-0.5);
g.SampleStateDim = 5;
get(g)
              Type: 'PositiveReal'
             Bound: -0.5000
    SampleStateDim: 5
      NominalValue: [1x1 ss]
      AutoSimplify: 'basic'
                Ts: 0
          TimeUnit: 'seconds'
         InputName: {''}
         InputUnit: {''}
        InputGroup: [1x1 struct]
        OutputName: {''}
        OutputUnit: {''}
       OutputGroup: [1x1 struct]
              Name: 'g'
             Notes: {}
          UserData: []

nyquist(usample(g,30))
xlim([-2 10])
ylim([-6 6]);

Was this topic helpful?