%% Extract Standard-Form Coefficients from Parallel-Form Controller
% Create a 2-DOF PID controller in parallel form.

C2 = pid2(2,3,4,10,0.5,0.5)

%
% Compute the coefficients of an equivalent parallel-form PID controller.

[Kp,Ti,Td,N,b,c] = pidstddata2(C2);

%
% Check some of the coefficients to confirm that they are different from the parallel-form coefficients.

Ti

%

Td

% Copyright 2015 The MathWorks, Inc.