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