fuz_for.m
来自「FISMAT accommodates different arithmetic」· M 代码 · 共 28 行
M
28 行
function f = fuz_for(gamma,ua,ub)% f=fuz_for(gamma,ua,ub)%% General OR - Werners[1984].% ua and ub are the membershipfunctions.% 'gamma' determines the "maximum-grade" of the operator.(=g)%% u(ua,ub) = g*max(ua,ub))+0.5*(1-g)*(ua+ub). 0<g<1. %% For g=1 the operator is identical with the maximum-operator.% For g=0 the average value is calculated.%% FSTB - Fuzzy Systems Toolbox for MATLAB% Copyright (c) 1993-1996 by Olaf Wolkenhauer% Control Systems Centre at UMIST% Manchester M60 1QD, UK%% 24-Feb-1994 [m,resx]=size(ua);if m==4 % Sets in compact trapeziodal form. resx=200; % Convert them in the appriote form. [ua,ub]=fuz_conv(ua,ub,resx);end;f = gamma.*max(ua,ub)+0.5.*(1-gamma).*(ua+ub);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?