IMC (internal model control) structure with connect command

조회 수: 7 (최근 30일)
Mohammad
Mohammad 2017년 6월 4일
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');

답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by