how can I solve this error in this code?

1 回表示 (過去 30 日間)
Mohamed Khattab
Mohamed Khattab 2022 年 1 月 9 日
回答済み: Walter Roberson 2022 年 1 月 10 日
S=tf('s');
G1=1/(S+1)^4;
G=G1/S;
Gr=opt_app(G1,0,1,1);
Unrecognized function or variable 'opt_app'.
k=Gr.num{1}(2)/Gr.den{1}(2);
L=Gr.ioDelay;
T=1/Gr.den{1}(2);
[Gc1,Kp1,Ti1,Td1]=folipd(1,K,L,T,10);
[Gc2,Kp2,Ti2,Td2]=folipd(2,K,L,T,10);
step(feedback(G*Gc1,1),feedback(G*Gc2,1))

回答 (1 件)

Walter Roberson
Walter Roberson 2022 年 1 月 10 日
opt_apt appears to be part of the File Exchange Contribution https://www.mathworks.com/matlabcentral/fileexchange/60874-fotf-toolbox

カテゴリ

Help Center および File ExchangeDynamic System Models についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by