필터 지우기
필터 지우기

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

채택된 답변

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 CenterFile Exchange에서 Fuzzy Logic Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by