Sabtu, 11 Maret 2023

Fuzzy Logic (Trapezoidal Curves)

Fuzzy Logic (Trapezoidal Curves)

This is an image of a trapezoidal curve for fuzzy logic.

The highest value of fuzzy logic is 1 while the lowest value of fuzzy logic is 0.






The formula to be used for the trapezoidal curve is as follows :





Explanation :

  • If the value of X is less than equal to a or greater than equal to d then the value is 0
  • If the value of X is greater than equal to b and less than equal to c then the value is 1
  • If the value of X is between a to b then the formula used is (x-a)/(b-a)
  • If the value of X is between c to d then the formula used is (d-x)/(d-c)

 

Notes :

  • If the result of the value of X is more than 1, then your calculation is wrong.
  • If the result of the value of X is less than 0, then your calculation is wrong.
  • The highest value of the result of the value of X is 1, while the lowest value of the result of the value of X is 0.


Tidak ada komentar:

Posting Komentar