njit-etd2003-081 - New Jersey Institute of Technology
njit-etd2003-081 - New Jersey Institute of Technology njit-etd2003-081 - New Jersey Institute of Technology
285 ysim = idsim( rp , th ); plot([ hr (40000:50000) ysim(40000:50000)]) Note that the function compare does this sequence of commands more efficiently. One can see that the model is quite capable of describing the system, even for data that were not used in calculating the fit. 9. To compute and graph the poles and zeros of the ARX model, use zpth = th2zp(th); zpplot(zp th); 10. If one wants to know the frequency response, one can compute the frequency function of the model and present it as a Bode plot by entering gth = th2ff(th); bodeplot(gth); 11. Compare this transfer function with a transfer function obtained from a nonparametric, spectral analysis method. Such an estimate is obtained directly from the data gs = spa(z2); gs = sett(gs,0.005); The sampling interval, 0.005, is set by the second command in order to obtain correct frequency scales. The function spa also allows you to select window sizes, frequency ranges, etc. All these values have been given as default values. 12. One can then compare the estimate of the transfer function obtained by spectral analysis versus the one obtained from the model (B.1) with bodeplot([gs gth]);
286 Make sure the agreement is quite good. Else rerun the 13. Finally, plot the step response of the model. The model comes with an estimate of its own uncertainty. Ten different step responses are computed and graphed. They correspond to "possible" models, drawn from the distribution of the true system (according to our model): step=ones(30,1); idsimsd(step,th); Spectral Analysis 14. The function spa performs spectral analysis according to the procedure in (3.35)- (3.37) of [42]. [G,PHIV] = spa(z); 15. Here z contains the output-input data as above. G and PHIV are matrices that contain the estimated frequency function GN and the estimated disturbance spectrum Фv in (3.37). They are coded into a special format, the freqfunc format, which allows you to plot them using the function bodeplot or ffplot: [G,PHIV] = spa(z); bodeplot(G); bodeplot(PHIV); bodeplot gives logarithmic amplitude and frequency scales (in rad/sec) and linear phase scale, while ffplot gives linear frequency scales (in Hz). The details of the freqfunc format are given in [42] and by typing: help freqfunc;
- Page 263 and 264: 234 5.7 Cluster Analysis The purpos
- Page 265 and 266: 236 Figure 5.64 Severity classifica
- Page 267 and 268: 238 both the normal and COPD subjec
- Page 269 and 270: 240 In summary, COPD subjects had h
- Page 271 and 272: APPENDIX A EXERCISE PHYSIOLOGY A.1
- Page 273 and 274: 244 A.3 Figure Out Your Target Hear
- Page 275 and 276: APPENDIX B ANALYSIS PROGRAM LISTING
- Page 277 and 278: 248 4) Click on file, close to exit
- Page 279 and 280: 250 • TN 11
- Page 281 and 282: 252 B.1.2 Partial Coherence Between
- Page 283 and 284: 254
- Page 285 and 286: 256 Block Diagram !rime of record K
- Page 287 and 288: 258
- Page 289 and 290: 260 B.2.2 Time — Frequency Analys
- Page 291 and 292: 262 This program provides the STFT
- Page 293 and 294: 264 G(:j+1)=G(:,j+1)/(2*sum(G(:j+1)
- Page 295 and 296: 266 T=(length(Signa)/sample)/(Times
- Page 297 and 298: 268 subplot(3, 1,3), plot(T,E); xla
- Page 299 and 300: 270 4. The program creates five out
- Page 301 and 302: 272 B.2.3.4 Program to Generate Sym
- Page 303 and 304: 274 ylabel('frequency'); title('Ins
- Page 305 and 306: 276 The program will run and output
- Page 307 and 308: 278 axis([0 1 0 2]); grid on; xlabe
- Page 309 and 310: 280 vagal=sum(TFDs(HFC,1:k)); symto
- Page 311 and 312: 282 plot(J,symtopar); %plot(A,symto
- Page 313: 284 4. Remove the constant levels a
- Page 317 and 318: 288 B.2.6 Principal Components Anal
- Page 319 and 320: 290 Columns 12 through 15 'LF_pcoh_
- Page 321 and 322: 292 I= 1.0000 -0.0000 -0.0000 -0.00
- Page 323 and 324: 294 variances = 3.4083 1.2140 1.141
- Page 325 and 326: 296 B.2.7 Cluster Analysis Program
- Page 327 and 328: 298 end [R,C]=size(Data); if length
- Page 329 and 330: 300 B.2.8 Cross-correlation Program
- Page 331 and 332: 302 C.3 Partial coherence of HR and
- Page 333 and 334: 304 [13] Madwed, J., and R. Cohen.
- Page 335 and 336: 306 [41] Mallat, S. G., "A Theory f
- Page 337: [70] Tazebay, M.V., R.T. Saliba and
285<br />
ysim = idsim( rp , th );<br />
plot([ hr (40000:50000) ysim(40000:50000)])<br />
Note that the function compare does this sequence <strong>of</strong> commands more efficiently.<br />
One can see that the model is quite capable <strong>of</strong> describing the system, even for data that<br />
were not used in calculating the fit.<br />
9. To compute and graph the poles and zeros <strong>of</strong> the ARX model, use<br />
zpth = th2zp(th);<br />
zpplot(zp th);<br />
10. If one wants to know the frequency response, one can compute the frequency<br />
function <strong>of</strong> the model and present it as a Bode plot by entering<br />
gth = th2ff(th);<br />
bodeplot(gth);<br />
11. Compare this transfer function with a transfer function obtained from a<br />
nonparametric, spectral analysis method. Such an estimate is obtained directly from the<br />
data<br />
gs = spa(z2);<br />
gs = sett(gs,0.005);<br />
The sampling interval, 0.005, is set by the second command in order to obtain<br />
correct frequency scales. The function spa also allows you to select window sizes,<br />
frequency ranges, etc. All these values have been given as default values.<br />
12. One can then compare the estimate <strong>of</strong> the transfer function obtained by spectral<br />
analysis versus the one obtained from the model (B.1) with<br />
bodeplot([gs gth]);