www.gusucode.com > control 案例程序 matlab源码代码 > control/ExplicitRealizationOfDescriptorStateSpaceModelExample.m

    %% Explicit Realization of Descriptor State-Space Model
% Create a descriptor state-space model (_E_ ≠ _I_). 

% Copyright 2015 The MathWorks, Inc.

a = [2 -4; 4 2];
b = [-1; 0.5];
c = [-0.5, -2];
d = [-1];
e = [1 0; -3 0.5];
sysd = dss(a,b,c,d,e); 
%% 
% Compute an explicit realization of the system (_E_ = _I_).
syse = ss(sysd,'explicit')
%%
% Confirm that the descriptor and explicit realizations have equivalent
% dynamics.
bodeplot(sysd,syse,'g--')