www.gusucode.com > control 案例程序 matlab源码代码 > control/ExtractStandardFormCoefficientsFromParallelFormExample.m

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

% Copyright 2015 The MathWorks, Inc.

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 cofficients to confirm that they are different from the
% parallel-form coefficients.
Ti
%%
Td