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

📄 moduldis.m

📁 FISMAT accommodates different arithmetic operators, fuzzification and defuzzification algorithm, imp
💻 M
字号:
function [ldf,udf] = moduldis(P)%  [ldf,udf] = moduldis(P)%% Calculate upper and lower distribution function of the fuzzy set P:% Upper distribution function:%   \mu_{[P,+\infty)}(w) = \Pi_P((-\infty,w])=\sup_{u \leq w} \mu_P(u)%   The set [P,+\infty) defines the numbers that can be greater than%   or equal to the values of a variable associated with a fuzzy interval P.% Lower distribution function:%   \mu_{]P,+\infty)}(w) = Nec_P{((-\infty,w[) = \inf_{u \geq w}(1-\mu_P(u))%    The set ]P,+\infty) is the set of numbers that are necessarily greater.%% The fuzzy interval P is given in a discrete format - row vector.% udf, ldf are returned as row vectors.%% If invoked without lefthand argument, the set P and its lower and% upper distribution is plotted.% % Reference: 'Possibility Theory', D.Dubois & H.Prade, Plenum Press 1988% % FSTB - Fuzzy Systems Toolbox for MATLAB% Copyright (c) 1993-1996 by Olaf Wolkenhauer% Control Systems Centre at UMIST% Manchester M60 1QD, UK%% 21 Jan 1996% Last change 22 Jan 1996resu=length(P);udf=zeros(1,resu); ldf=udf;u=1:1:resu;% \mu_{[P,+\infty)}(w) =for w=1:resu,  udf(w)=max(P(1:w));end;% \mu_{]P,+\infty)}(w) =for w=1:resu,  ldf(w)=min(1-P(w:resu));end;if nargout==0,  plot_set(u,[P;ldf;udf]);end;

⌨️ 快捷键说明

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