⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 flc.m

📁 FISMAT accommodates different arithmetic operators, fuzzification and defuzzification algorithm, imp
💻 M
字号:
function sk = flc(ek,x,ts)% sk = flc(ek,x,ts)%% Discrete fuzzy-P-controller.% % ek   = e(k) - current input value at the sample step k.% x(1) = input e(k-1).% x(2) = output s(k-1).% x(3) = e(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%% 20-April-1994 global ESET OSETef =fuzzsiyi(ESET,ek(1));rb=ef';% Defuzzification from Siler and Ying. % (Output sets are singletons)sk=OSET*rb;%sk=sk/sum(rb);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -