www.gusucode.com > control 案例程序 matlab源码代码 > control/BalancedRealizationOfUnstableSystemExample.m
%% Balanced Realization of Unstable System %% % Create an unstable system. sys = tf(1,[1 0 -1]) %% % Apply |balreal| to create a balanced-gramian realization. [sysbal,g] = balreal(sys) %% % The unstable pole shows up as |Inf| in the vector |g|.