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.

 채택된 답변

Arkadiy Turevskiy
Arkadiy Turevskiy 2013년 10월 8일
편집: Arkadiy Turevskiy 2013년 10월 9일

0 개 추천

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

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

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Fuzzy Logic Toolbox에 대해 자세히 알아보기

질문:

2013년 8월 29일

댓글:

2018년 5월 2일

Community Treasure Hunt

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

Start Hunting!

Translated by