Rabu, 15 Maret 2023

Fuzzy Logic (Triangle Curve)

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

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











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








Explanation :

  • If the value of X is less than equal to a or more than equal to c then the value is 0
  • If the value of X is equal to b 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 b to c then the formula used is (c-x)/(c-b)

 

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