Problem with vector definition for PID controller problem
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Ashwin Jose
le 14 Nov 2021
Réponse apportée : Srivardhan Gadila
le 17 Nov 2021
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
0 commentaires
Réponse acceptée
Srivardhan Gadila
le 17 Nov 2021
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 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur PID Controller Tuning dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!