moreless.m

来自「a collection of M-files to study concept」· M 代码 · 共 21 行

M
21
字号
function [dmoreA] = moreless(dA)
%MORELESS: This function operate as a quantifier on matrix of fuzzy values
%          A, and will  returns the  membership  function  related to
%          'more_less A'.
%
%                            [moreA] = MORELESS(A)
%
%           See also VERY and NOT.


% FISMAT: Fuzzy Inference Systems toolbox for MATLAB
% (c) A. Lotfi, University of Queensland (Email: lotfia@s1.elec.uq.oz.au)
% 13-10-93
% The program has been tested on MATLAB version 4.1, Sun workstation.

if (max(max(dA)) > 1) | (min(min(dA)) < 0)
error('Grade of membership function should not be more than one or less than zero.')
end

dmoreA=dA .^ .5;

⌨️ 快捷键说明

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