www.gusucode.com > control 案例程序 matlab源码代码 > control/CheckPassivityOfDynamicSystemExample.m
%% Check Passivity of Dynamic System % Test whether the following transfer function is passive: %% % % $$G\left( s \right) = \frac{{s + 1}}{{s + 2}}.$$ % %% G = tf([1,1],[1,2]); [pf,R] = isPassive(G) %% % |pf = 1| indicates that |G| is passive. |R = 0.3333| indicates that |R| % has a relative excess of passivity.