Transfer function error ' The values of the "num" and "den" properties must be row vectors or cell arrays of row vectors,'

1 次查看(过去 30 天)
Hi,
I am a beginner in Matlab. I would like to ask a question regarding PID controller. I tried to type in for the below controller(as per image) but I am encountering an error which is ??? Error using ==> tf.tf at 239 The values of the "num" and "den" properties must be row vectors or cell arrays of row vectors, where each vector is nonempty and containing numeric data. Type "ltiprops tf" for more information.
Error in ==> Untitled4 at 7 G=tf(Gnum,Gden);
Please help on which part I did wrong. Thank you very much.
Best Regards, Phyo

回答(1 个)

Arkadiy Turevskiy
Arkadiy Turevskiy 2014-11-26
Can you paste your MATLAB code that is not working? Is the issue related to you using pid function in 2009a release, like your other question suggests?

类别

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