%% State-Space Representation of a Second-Order Section System
% Compute the state-space representation of a simple second-order section system with a gain of 2.

sos = [1  1  1  1   0  -1 ;
      -2  3  1  1  10   1];
[A,B,C,D] = sos2ss(sos,2)

% Copyright 2015 The MathWorks, Inc.