IMC (internal model control) structure with connect command
Afficher commentaires plus anciens
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');
Réponses (0)
Catégories
En savoir plus sur MATLAB dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!