How to Merge two rules in Fuzzy Logic
3 ビュー (過去 30 日間)
古いコメントを表示
For example if I have 2 inputs and one output as follows
Inputs: Food {Excellent, Good, Average, Bad}, Service{Good, Bad}
Output: Tip
and I have 2 rules as
If Food is good and Service is good then Tip is good
If Food is average and Service is good then Tip is good.
Can I combine the above 2 rules into one rule as
If ((Food is good) or (Food is average)) and Service is good then Tip is good. If it is possible what is the format?
0 件のコメント
回答 (2 件)
Walter Roberson
2011 年 10 月 20 日
If (Service is bad or Food is bad) then Tip is bad else Tip is good
Shehbaz Aslam
2020 年 11 月 3 日
Hope all of you are doing well. I need help on fuzzy logic. I have three inputs SOC,Sloar and wind. On the basis of these inputs I want to create rule base for three modes. Emergency, energy saving and normal mode. How I can define rules. Thanks in advance
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Fuzzy Logic Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!