In Genfis2, how can I set the output membership function to be constant?

The default output membership function type generated by genfis2 is linear, but it is not explained how it can be set to constant! Theoretically, both can be used as output functions.

 Akzeptierte Antwort

Arkadiy Turevskiy
Arkadiy Turevskiy am 8 Okt. 2013
Bearbeitet: Arkadiy Turevskiy am 9 Okt. 2013

0 Stimmen

Unfortunately you cannot. Both the input and output membership function types are hardwired. I have created an enhancement request to improve the documentation to be more clear.
I also created an enhancement request to allow for changing membership function type.

3 Kommentare

Thank you. Please I want to be notified when the feature is added.
Dear Arkadiy Turevskiy. I found a solution to the hardwire membership types, we can just use mfedit(in_fis) to access the FIS editor, then change as we desire. or we can also use the following snippet: for i=1:10 for j=1:150 in_fis.input(i).mf(j).type='gbellmf'; end end

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Fuzzy Logic Toolbox finden Sie in Hilfe-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