フィルターのクリア

How to define Fuzzy Rules?

1 回表示 (過去 30 日間)
Moussa
Moussa 2024 年 1 月 31 日
回答済み: Sam Chak 2024 年 1 月 31 日
I have an assignment related to fuzzy logic. In the following part of the assignment, I have come to a halt. There are 4 inputs and 1 output, and each of them has 3 membership functions. I am required to generate 81 rules from these components. However, as you can observe from the attached image, the total number of rules is 3^5=243. I am unsure of how to select the specific 81 rules from this larger set.

回答 (1 件)

Sam Chak
Sam Chak 2024 年 1 月 31 日
Hello @Moussa
Here's how we go about estimating the number of rules based on the given number of inputs and the number of membership functions (MFs) for each input. Ideally, you'd also want to generate 81 MFs for the output. Nevertheless, there's flexibility to reuse certain MFs for specific rules, depending on the situation as perceived by the human designer.
nInput = 4; % number of Inputs
nMFcns = 3; % number of MFs
nRules = nMFcns^nInput % number of Rules
nRules = 81

カテゴリ

Help Center および File ExchangeFuzzy Inference System Modeling についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by