www.gusucode.com > control 案例程序 matlab源码代码 > control/FrequencylimitedHankelSingularValuesExample.m
%% Frequency-Limited Hankel Singular Values % Compute the Hankel singular values of a model with low-frequency and % high-frequency dynamics. Focus the calculation on the high-frequency % modes. %% % Load the model and examine its frequency response. load modeselect Gms bodeplot(Gms) %% % |Gms| has two sets of resonances, one at relatively low frequency and the % other at relatively high frequency. Compute the Hankel singular values % of the high-frequency modes, excluding the energy contributions to the % low-frequency dynamics. To do so, use |hsvdOptions| to specify a % frequency interval above 30 rad/s. opts = hsvdOptions('FreqInterval',[30 Inf]); hsvd(Gms,opts)