6
6
6.1
6.1.1
gaussmf
y=gaussmf(x,[sig c])
(x −c)2
−
2
f (x;σ,c) e 2σ σ,c x
sig σ
6-1
>>x=0:0.1:10;
>>y=gaussmf(x,[2 5]);
>>plot(x,y)
>>xlabel(‘gaussmf, P=[2 5]’)
6-1
1
0.8
0.6
0.4
0.2
0
0 2 4 6 8 10
gaussmf, P=[2 5]
6-1
6.1.2
gauss2mf
y = gauss2mf(x,[sig1 c1 sig2 c2])
sig1c1sig2c2 1
6-2
>>x = (0:0.1:10)’;
>>y1 = gauss2mf(x, [2 4 1 8]);
>>y2 = gauss2mf(x, [2 5 1 7]);
>>y3 = gauss2mf(x, [2 6 1 6]);
>>y4 = gauss2mf(x, [2 7 1 5]);
>>y5 = gauss2mf(x, [2 8 1 4]);
201
MATLAB6.0
>>plot(x, [y1 y2 y3 y4 y5]);
>>set(gcf, ‘name’, ‘gauss2mf’, ‘numbertitle’, ‘off’);
6-2
6.1.3
gbellmf
y = gbellmf(x,params)
1
f (x ;a, b, c)
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/218446.html原文链接:https://javaforall.net
