📄 ct1_c1.m
字号:
function sk = ct1_c1(u,x,ts)% sk = ct1_c1(u,x,ts)%% Test file for the fuzzy-controller implementation.% Corresponding Simulink model: ctest1_s.m% % u = u(k) - current input value at the sample step k.% x(1) = input u(k-1).% x(2) = output s(k-1).% x(3) = u(k-2).% ts = sampling time.% sk = output s(k).% % FSTB - Fuzzy Systems Toolbox for MATLAB% Copyright (c) 1993-1996 by Olaf Wolkenhauer% Control Systems Centre at UMIST% Manchester M60 1QD, UK%% 29-April-1994 SAMPLE=SAMPLE+1;% using u leads to a delay of one sample period.% using x(1)=u(k-1) leads to a delay of two sample periods.% using x(3)=u(k-2) leads to a delay of three sample periods.sk=u;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -