t.</p><pre class="codeinput">simulator.Simulate();
</pre><h2 id="8">Results</h2><pre class="codeinput"><span class="comment">% Retrieving states</span>
YT      = simulator.YT;
PSI     = simulator.PSI;
PHI     = simulator.PHI;
dPSI    = simulator.dPSI;
dPHI    = simulator.dPHI;

figure
subplot(3,1,1)
    hold <span class="string">on</span> ; grid <span class="string">on</span> ; box <span class="string">on</span>
    plot(TSPAN,PSI,<span class="string">'b'</span>,<span class="string">'linewidth'</span>,2)
  