?? modgauss.m
字號(hào):
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;
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -