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.

 Respuesta aceptada

Arkadiy Turevskiy
Arkadiy Turevskiy el 8 de Oct. de 2013
Editada: Arkadiy Turevskiy el 9 de Oct. de 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 comentarios

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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Fuzzy Logic Toolbox en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 29 de Ag. de 2013

Comentada:

el 2 de Mayo de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by