www.gusucode.com > signal 案例源码程序 matlab代码 > signal/StateSpaceRepresentationOfASecondOrderSectionSystemExample.m

    %% 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.
%%

% Copyright 2015 The MathWorks, Inc.

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