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

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--')

% Copyright 2015 The MathWorks, Inc.