📄 anfis03.m
字号:
data=[0 0 0;0 1 1;1 0 1;1 1 0];
trndata=data;
numMFs=2;
mfType='gbellmf';
in_fis=genfis1(trndata,numMFs,mfType);
numepochs=30;
out_fis=anfis(trndata,in_fis,numepochs);
[x,mf]=plotmf(out_fis,'input',1);
subplot(2,1,1),plot(x,mf);
xlabel('input1');
[x,mf]=plotmf(out_fis,'input',2);
subplot(2,1,2),plot(x,mf);
xlabel('input2');
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -