accumulu.m

来自「FISMAT accommodates different arithmetic」· M 代码 · 共 24 行

M
24
字号
function B = accumulu(B,accop)% B = accumulu(B,accop)% % "Accumulation" of all fuzzy conclusions Bj* to one B*. % B*=accop(B1*,B2*,...,Bj*,...,Bm*). % The operator accop can be a OR-operator. Another method is to sum up all% the outputs (Kosko 1992). This can be done using 'sumop' for accop. %% FSTB - Fuzzy Systems Toolbox% Copyright 1993-1996 by Olaf Wolkenhauer% Control Systems Centre at UMIST% Manchester M60 1QD, UK%% 21-April-1996% Last change : 21 April 1996 [no_of_rules,N]=size(B);for rule=1:no_of_rules-1,  B(rule+1,:)=feval(accop,B(rule,:),B(rule+1,:));end;B=B(no_of_rules,:);% The row vector B now contains the output set to bet defuzzified.

⌨️ 快捷键说明

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