📄 not.m
字号:
function [dnotA] = not(dA)
%NOT: This function operate as a quantifier on matrix of fuzzy values
% A, and will returns the membership function related to
% 'not A'.
%
% [notA] = NOT(A)
%
% See also VERY and MORELESS.
% 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
dnotA=ones(size(dA))-dA;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -