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

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

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

[Kp,Ki,Kd,Tf,b,c] = piddata2(C2);

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

Ki

%

Kd

% Copyright 2015 The MathWorks, Inc.