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

📄 fuzzy_pi.m

📁 FISMAT accommodates different arithmetic operators, fuzzification and defuzzification algorithm, imp
💻 M
字号:
function o = fuzzy_pi(e,x,T)% o = fuzzy_pi(e,x,T)% % Fuzzy PI controller used by fuzdemo2%% FSTB - Fuzzy Systems Toolbox for MATLAB% Copyright (c) 1993-1996 by Olaf Wolkenhauer% Control Systems Centre at UMIST% Manchester M60 1QD, UK%% 21-April-1994 global eset oset% Fuzzification :enT=fuzzsiyi(eset,e(1));       % e(1) corresponds to the error rnT=fuzzsiyi(eset,e(2));       % e(2) corresponds to the rate of error% horizontal direction corresponds to enT.% vertical direction corresponds to rnT.NB=1; NS=2; NZ=3; PS=4; PB=5;rt=[NB NS NZ ;    NS NZ PS ;    NZ PS PB];% Using of Zadeh AND-Minimum operator and the Lukasiewicz OR=bounded sum:rb=rtinf(rt,enT,rnT,'t3mi','s3ma'); % Defuzzification:o=oset*rb; 

⌨️ 快捷键说明

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