modgauss.m
来自「FISMAT accommodates different arithmetic」· M 代码 · 共 25 行
M
25 行
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 + =
减小字号Ctrl + -
显示快捷键?