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.

 Réponse acceptée

Arkadiy Turevskiy
Arkadiy Turevskiy le 8 Oct 2013
Modifié(e) : Arkadiy Turevskiy le 9 Oct 2013
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 commentaires

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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Fuzzy Logic Toolbox dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by