31.10.2014 Views

What Is Fuzzy Logic?

What Is Fuzzy Logic?

What Is Fuzzy Logic?

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

anfis<br />

theincreaserate)iftheerrormeasure undergoes four consecutive<br />

decreases.<br />

• chkFis is the FIS structure whose parameters are set according to a<br />

minimum checking error criterion. The function only returns chkFis<br />

when you supply chkData as an input argument.<br />

anfis has certain restrictions (see “Constraints of anfis” on page 2-110<br />

for more information).<br />

Examples<br />

References<br />

See Also<br />

x = (0:0.1:10)';<br />

y = sin(2*x)./exp(x/5);<br />

trnData = [x y];<br />

numMFs = 5;<br />

mfType = 'gbellmf';<br />

epoch_n = 20;<br />

in_fis = genfis1(trnData,numMFs,mfType);<br />

out_fis = anfis(trnData,in_fis,20);<br />

plot(x,y,x,evalfis(x,out_fis));<br />

legend('Training Data','ANFIS Output');<br />

Jang, J.-S. R., “<strong>Fuzzy</strong> Modeling Using Generalized Neural Networks<br />

and Kalman Filter Algorithm,” Proc. of the Ninth National Conf. on<br />

Artificial Intelligence (AAAI-91), pp. 762-767, July 1991.<br />

Jang, J.-S. R., “ANFIS: Adaptive-Network-based <strong>Fuzzy</strong> Inference<br />

Systems,” IEEE Transactions on Systems, Man, and Cybernetics, Vol.<br />

23, No. 3, pp. 665-685, May 1993.<br />

anfisedit, genfis1<br />

4-9

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!