20.01.2015 Views

njit-etd2003-081 - New Jersey Institute of Technology

njit-etd2003-081 - New Jersey Institute of Technology

njit-etd2003-081 - New Jersey Institute of Technology

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

286<br />

Make sure the agreement is quite good. Else rerun the<br />

13. Finally, plot the step response <strong>of</strong> the model. The model comes with an estimate <strong>of</strong><br />

its own uncertainty. Ten different step responses are computed and graphed. They<br />

correspond to "possible" models, drawn from the distribution <strong>of</strong> the true system<br />

(according to our model):<br />

step=ones(30,1);<br />

idsimsd(step,th);<br />

Spectral Analysis<br />

14. The function spa performs spectral analysis according to the procedure in (3.35)-<br />

(3.37) <strong>of</strong> [42].<br />

[G,PHIV] = spa(z);<br />

15. Here z contains the output-input data as above. G and PHIV are matrices that<br />

contain the estimated frequency function GN and the estimated disturbance spectrum<br />

Фv<br />

in (3.37). They are coded into a special format, the freqfunc format, which allows you<br />

to plot them using the function bodeplot or ffplot:<br />

[G,PHIV] = spa(z);<br />

bodeplot(G);<br />

bodeplot(PHIV);<br />

bodeplot gives logarithmic amplitude and frequency scales (in rad/sec) and linear<br />

phase scale, while ffplot gives linear frequency scales (in Hz). The details <strong>of</strong> the freqfunc<br />

format are given in [42] and by typing:<br />

help freqfunc;

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!