필터 지우기
필터 지우기

Problem with vector definition for PID controller problem

조회 수: 3 (최근 30일)
Ashwin Jose
Ashwin Jose 2021년 11월 14일
답변: Srivardhan Gadila 2021년 11월 17일
Error says input delay must have same amout of entries as other. Num, den and input delay all have 7 terms ?Where have i made a mistake

채택된 답변

Srivardhan Gadila
Srivardhan Gadila 2021년 11월 17일
The InputDelay must either be a scalar for a SISO system or a Nu-by-1 vector for multi-input system, where the numerator, denominator is specified as an Ny-by-Nu cell array of row vectors to specify a MIMO transfer function, where Ny is the number of outputs and Nu is the number of inputs.
In this case the value of Ny = 7 and Nu = 1. Hence the size of 'InputDelay' vector cannot can be 7x1.
Refer to the documentation of tf and description of numerator, denominator & InputDelay for more information.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 PID Controller Tuning에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by