📄 picurve.m
字号:
function z = picurve(x1,x2,x3,x4,x,typ)
% Fuzzy PI curve
%
% function z = picurve(x1,x2,x3,x4,x,typ)
%
% x1 leftmost break point
% x2 left shoulder
% x3 right shoulder
% x4 rightmost break point
% x running point on universe
% typ curve type, 0 = non-linear (cosine), 1 = linear
%
% The PI curve is composed of an s-curve and a z-curve.
% This function can produce several types of sets:
%
% bump with x3 = x2 and typ = 0
% flat bump with x3 > x2 and typ = 0
% triangle with x3 = x2 and typ = 1
% trapezoid with x3 > x2 and typ = 1
% rectangle with x2 = x1, x3 > x2, x4 = x3 and typ = 1
% singleton with x1 = x2 = x3 = x4 and typ = 1
% Jan Jantzen 94-01-31
z = min(scurve(x1,x2,x,typ),zcurve(x3,x4,x,typ)) ;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -