ct1_c1.m
来自「FISMAT accommodates different arithmetic」· M 代码 · 共 29 行
M
29 行
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 + =
减小字号Ctrl + -
显示快捷键?