I need to use fuzzy logic over several iteration.The output of the first fuzzy iteration will determine the range of the input variable for the next fuzzy logic .

1 Ansicht (letzte 30 Tage)
I need to use fuzzy logic over several iteration.The output of the first fuzzy iteration will determine the range of the input variable for the next fuzzy logic .Is there any MATLAB command through which I can dynamically control the range and shape of membership function while the program is running?

Akzeptierte Antwort

Arkadiy Turevskiy
Arkadiy Turevskiy am 17 Feb. 2012
Maybe I do not understand your situation, but it seems you can just write some sort of for loop:
%% start
initialization code that constructs fuzzy system FIS and input signals U
Y=evalfis(U,FIS);
%% for loop
for index=1:n,
FIS.input.range = myfunction(y); % your calculations to update input range
Y=evalfis(U,FIS);
end

Weitere Antworten (0)

Kategorien

Mehr zu Fuzzy Logic Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by