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

📄 fuz_conv.m

📁 FISMAT accommodates different arithmetic operators, fuzzification and defuzzification algorithm, imp
💻 M
字号:
function [setA,setB] = fuz_conv(setA,setB,resx)% [setA,setB] = fuz_conv(setA,setB,resx)%% Converts the fuzzy sets ua and ub given in parameter form% (4*n matrix for generell trapezoid) in a discrete form with% the resolution resx.% Both sets get the same abscissa range.% See also con2dis(). This file is used by some logical operators to use% them with both fuzzy set forms.%% FSTB - Fuzzy Systems Toolbox for MATLAB% Copyright (c) 1993-1996 by Olaf Wolkenhauer% Control Systems Centre at UMIST% Manchester M60 1QD, UK%% 25-Feb-1994 if (setA(1)==-inf), setA(1)=setA(2); end;if (setA(4)==inf), setA(4)=setA(3); end;if (setB(1)==-inf), setB(1)=setB(2); end;if (setB(4)==inf), setB(4)=setB(3); end;xmin=min(setA(1),setB(1)); xmax=max(setA(4),setB(4));alpha=setA(2)-setA(1); beta=setA(4)-setA(3);setA=modlrset('tr','',[xmin,xmax,setA(2),setA(3),alpha,beta,0,1],resx);alpha=setB(2)-setB(1); beta=setB(4)-setB(3);setB=modlrset('tr','',[xmin,xmax,setB(2),setB(3),alpha,beta,0,1],resx);

⌨️ 快捷键说明

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