function [a,b,c,d] = sec2ss(h)
%SEC2SS  Convert single-section df2t object to state-space.

%   Author(s): R. Losada
%   Copyright 1988-2000 The MathWorks, Inc.
%   $Revision: 1.2 $  $Date: 2000/06/13 21:20:37 $ 

[num,den] = tf(h);

% Construct a df2 object
df2obj = df2(num,den);

% Get its state-space representation
[at,bt,ct,d] = sec2ss(df2obj);

% Transpose a; b with c to get the df2t state-space representation
a = at.';
b = ct.';
c = bt.';
