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

1 view (last 30 days)
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.

Accepted Answer

Arkadiy Turevskiy
Arkadiy Turevskiy on 8 Oct 2013
Edited: Arkadiy Turevskiy on 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 Comments
John Albert
John Albert on 2 May 2018
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

Sign in to comment.

More Answers (0)

Categories

Find more on Fuzzy Inference System Modeling in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!