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

📄 inferenc.m

📁 FISMAT accommodates different arithmetic operators, fuzzification and defuzzification algorithm, imp
💻 M
字号:
function Bs = inferenc(A,B,FAMbank,infop)% Bs = inferenc(A,B,FAMbank,infop)%% With Bj and aj and the inference operator infop Bj*=infop(aj,Bj) is % calculated. Bj* is the fuzzy conclusion for the jth rule.% A=[a1,a2,...,aj,...,am] and B=library of fuzzy sets or membership values% for the output variable. Using the min-operator for infop ('t3mi') is% called Min-Inference. Using the algebraic-product ('t2ap') is called% Product-Inference.%% 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 no_of_rules=length(A);N=length(B);Bs=zeros(no_of_rules,N); % m rules/rows. [i,j,s]=find(FAMbank); % searching for rules.for rule=1:no_of_rules,  Bs(rule,:)=feval(infop,A(rule).*ones(1,N),B(s(rule),:));end;

⌨️ 快捷键说明

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