rvice',[0 10]);Рgetfis(a, 'input',1)Р Name = serviceР NumMFs = 0Р MFLabels = Р Range = [0 10]Рans =Р []РDefuzzРx = -10:0.1:10;Рmf = trapmf(x,[-10 -8 -4 7]);Рxx = defuzz(x,mf, 'centroid');РevalfisРfismat = readfis('tipper');Рout=evalfis([2 1;4 9],fismat)Рout =Р 7.0169Р 19.6810РevalmfРx=0:0.1:10;Рmfparams=[2 4 6];Рmftype='gbellmf';Рy=evalmf(x,mfparams,mftype);Рplot(x,y)Рxlabel('gbellmf,P=[2 4 6]')Р7.gensurfРa=readfis('tipper');Рgensurf(a)Р8.getfisР单输入变量Рa=readfis('tipper');Рgetfis(a)Р双输入变量:Р getfis(a,'type')Р三个输入变量:Рgetfis(a,'input',1)Р四个输入变量:Рgetfis(a,'input',1,'name')Р五个输入变量:Рgetfis(a,'input',1,'mf',2)Р六个输入变量:Рgetfis(a,'input',1,'mf',2,'name')Р9.mf2mfРx=0:0.1:5;Рmfp1=[1 2 3];Рmfp2=mf2mf(mfp1,'gbellmf','trimf');Рplot(x,gbellmf(x,mfp1),x,trimf(x,mfp2))Р10.NewfisРa=newfis('newsys');Рgetfis(a)