Info
This question is closed. Reopen it to edit or answer.
HI. I need fuzzy logic code in matlab without using fuzzy logic toolbox?
1 view (last 30 days)
Show older comments
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 Comments
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!