Optimization of FIS membership functions, via GA
问题 i am trying to optimize my FIS with the help of a GA, with matlab optimization toolbox. The code looks like this: function errorr=fun3_2(x) Name='eleni'; Type='mamdani'; NumInputs='8'; NumOutputs='1'; % NumRules='80'; AndMethod='min'; OrMethod='max'; ImpMethod='min'; AggMethod='max'; DefuzzMethod='centroid'; a=newfis('eleni'); %INPUTS_______________input 1____________ a.input(1).name='ARIAS'; a.input(1).range=[0 1]; a.input(1).mf(1).name='1'; a.input(1).mf(1).type='trimf'; a.input(1).mf(1)