フィルターのクリア

How to create Fuzzy logic code without using fuzzy toolbox

5 ビュー (過去 30 日間)
Anisa hidary
Anisa hidary 2016 年 7 月 1 日
コメント済み: Walter Roberson 2016 年 11 月 1 日
Hello. I have a problem with fuzzy logic i want to write a code in matlab without using toolbox, my example has two input velocity and distance and i shuold estimate velocity in the next time,membershiP function is triangular,defuzz method is center method. Thanks for helping me about this problem,how should to implement this without using fuzzy toolbox
  1 件のコメント
Anisa hidary
Anisa hidary 2016 年 7 月 1 日
My real problem is in defuzzified section

サインインしてコメントする。

採用された回答

Walter Roberson
Walter Roberson 2016 年 7 月 1 日
編集済み: Walter Roberson 2016 年 11 月 1 日

その他の回答 (1 件)

fadhil mohammad
fadhil mohammad 2016 年 11 月 1 日
hi . I have a problem with fuzzy logic i want to write a code in matlab without using toolbox, my example has two input energy level and distance ,membershiP function is triangular,trapezoidel, defuzz method is center method (mamdan), output is cost. Thanks for helping me about this problem,how should to implement this without using fuzzy toolbox for more clearance:- Where I need fuzzy logic code in matlab without using
fuzzy logic toolbox
, so, fuzzy logic file based on 2 parameters as input to
fuzzy inference system (energy level, distance) and
everyone have 3 membership function
[energy level:- low . med. High]
[ distance:- close . adequate . far]
And the output be [fuzzy_cost]
And the rule of fuzzy as following:-
1. If (energy level is high)and(distance is close) then (fuzzy_cost is very low)
2. If (energy level is med)and(distance is close) then (fuzzy_cost is low)
3. If (energy level is low)and(distance is close) then (fuzzy_cost is rang low)
4. If (energy level is high)and(distance is adequate) then (fuzzy_cost is med low)
5. If (energy level is med)and(distance is adequate) then (fuzzy_cost is very low)
6. If (energy level is low)and(distance is adequate) then (fuzzy_cost is med high)
7. If (energy level is high)and(distance is far) then (fuzzy_cost is rang high)
8. If (energy level is med)and(distance is far) then (fuzzy_cost is high)
9. If (energy level is low)and(distance is far) then (fuzzy_cost is very high)
thank u. my email :- fadhilmohammad2000@yahoo.com

カテゴリ

Help Center および File ExchangeFuzzy Logic Toolbox についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by