How to build Fuzzy Logic Controller using Mamdani approach

Imagine telling a machine: