What could go in the black box? Any number of things: fuzzy systems, linear systems, expert systems, neural networks, differential equations, interpolated multidimensional lookup tables, or even a spiritual advisor.
In almost every case you can build the same product without fuzzy logic, but fuzzy is faster and cheaper.
Tipper problem
Classical or normal sets wouldn't tolerate this kind of thing. Either you're in or you're out. Human experience suggests something different, though: fence sitting is a part of life.
In fuzzy logic, the truth of any statement becomes a matter of degree. A fuzzy set admits the possibility of partial membership in it.
Fuzzy Logic AND(A, B) OR (A, B) NOT(A) Min(A, B) Max(A, B) 1 -A Membership function Set [1 3 5] MF[0. 1 0. 9 0. 5]
Q: Is Saturday a weekend day? A: 1 (yes, or true) Q: Is Tuesday a weekend day? A: 0 (no, or false) Q: Is Friday a weekend day? A: 0. 8 (for the most part yes, but not completely) Q: Is Sunday a weekend day? A: 0. 95 (yes, but not quite as much as Saturday).
Main functions in matlab for fuzzy Logic implementation fuzzy filename var = readfis('filename. fis') evalfis([input 1 input 2. . . ], var) anfis(tran. Dat)% Last column is output