フィルターのクリア

control hystérésis 4 level

4 ビュー (過去 30 日間)
laiche zeghdi
laiche zeghdi 2023 年 7 月 23 日
コメント済み: laiche zeghdi 2023 年 7 月 23 日
function dP=active(x)
err=x(1);hys=x(2);
if err>=hys
dP=2;
elseif (0<err && err<hys)
dP=1;
elseif (-hys<err && err<0)
dP=-1;
elseif err<-hys
dP=-2;
end;
end
i got problem:Not enough input arguments line (2).
  4 件のコメント
Dyuman Joshi
Dyuman Joshi 2023 年 7 月 23 日
編集済み: Dyuman Joshi 2023 年 7 月 23 日
Are you working with a Simulink model?
Or are you just running the code you posted?
laiche zeghdi
laiche zeghdi 2023 年 7 月 23 日
I use simulink model. I use simulink DPC with NPC 3level (control error power direct with hystirsis 4 level )

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeModeling についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by