📄 modgauss.m
字号:
function [f,x] = modgauss(mean,var,xmin,xmax,resx)% [f,x] = modgauss(mean,var,xmin,xmax,resx)%% Creating the membershipfunction of gaussian distributed fuzzy set.% mean = mean value% var = varianz% xmin and xmax are the boundaries for the universe of discourse.% The set is 'normal' that means with membership grades only between% 0 and 1.%% FSTB - Fuzzy Systems Toolbox for MATLAB% Copyright (c) 1993-1996 by Olaf Wolkenhauer% Control Systems Centre at UMIST% Manchester M60 1QD, UK%% 19-May-1994f = zeros(1,resx); o = linspace(xmin,xmax,resx); for i=1:resx; f(i)=exp(-0.5*((o(i)-mean)/var)^2);end;x=o;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -