fuz_fand.m
来自「FISMAT accommodates different arithmetic」· M 代码 · 共 28 行
M
28 行
function f = fuz_fand(gamma,ua,ub)% f=fuz_fand(gamma,ua,ub)%% The "fuzzy and" operator is defined as%% u(ua,ub) = g*min(ua,ub))+0.5*(1-g)*(ua+ub). 0<g<1.% % The parameter gamma indicates the degree of nearness to the strict logical% meaning of "and". % For gamma=1 the "fuzzy and" is equal to the minimum operator.% For gamma=0 the "fuzzy and" is equal to the arithmetic mean.%% 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.*min(ua,ub)+0.5.*(1-gamma).*(ua+ub);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?