Info

此问题已关闭。 请重新打开它进行编辑或回答。

HI. I need fuzzy logic code in matlab without using fuzzy logic toolbox?

1 次查看(过去 30 天)
Hi. am phd student in computer department, please i need help to complete my research 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 [cost]
And the rule of fuzzy as following:-
1. If (energy level is high)and(distance is close) then (cost is very low)
2. If (energy level is med)and(distance is close) then (cost is low)
3. If (energy level is low)and(distance is close) then (cost is rang low)
4. If (energy level is high)and(distance is adequate) then (cost is med low)
5. If (energy level is med)and(distance is adequate) then (cost is very low)
6. If (energy level is low)and(distance is adequate) then (cost is med high)
7. If (energy level is high)and(distance is far) then (cost is rang high)
8. If (energy level is med)and(distance is far) then (cost is high)
9. If (energy level is low)and(distance is far) then (cost is very high)
Thanks for everyone can help me, Email:-fadhilmohammad2000@yahoo.com

回答(0 个)

此问题已关闭。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by