IMC (internal model control) structure with connect command

7 Ansichten (letzte 30 Tage)
Mohammad
Mohammad am 4 Jun. 2017
Hi I want to implement the IMC structure as shown in the picture below. I was wondering if the following code is correct ? Because it seems that it's not. Thanks
P = tf([1],[1 1]); P.InputName = 'u'; P.OutputName = 'y';
M = tf([1],[1 1]); M.InputName = 'u'; M.OutputName = 'ym';
Q = tf([1 1],[2 1]); Q.InputName = 'e'; Q.OutputName = 'u';
Sum1 = sumblk('d = y - ym'); Sum2 = sumblk('e = r - d');
T = connect(Q,M,P,Sum1,Sum2,'r','y');

Antworten (0)

Kategorien

Mehr zu MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by