📄 neg.m
字号:
function z = neg(x)
% Fuzzy set NEGATIVE
%
% function z = neg(x)
%
% x value from universe
% z corresponding membership value
%
% The definition is functional (continuous).
% Vector input results in vector output.
%
% See also picurve, scurve, zcurve
% Jantzen 940330
Leftx = -80 ;
Rightx = -20;
Typ = 0 ; % 0=non-linear, 1=linear ;
z = zcurve(Leftx,Rightx,x,Typ) ;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -