Fuzzy logic rule operator (is any) in air quality monitor and decision making algorithm
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello there,
I am doing a fuzzy logic decision-making algorithm based on set of parameters
Input parameters:
- Temperature [freezing, cold, cool, comfortable, warm, hot, sweltering] cases = 7
- Humidity [too_dry, average, too_moist] cases =3
- Air quality index [good, fair, moderate, poor, very_poor] cases = 5
I have the crisp and fuzzy sets for each input parameter.
Output parameters:
- AC
- Heater
- Humidifier
- Window
one of the fuzzy logic conditiosn sets is as follows:
////////////////////////////////////////
Conditions set B:
IF in_aq (is good) & out_aq (is not good) /* window is closed*/
& in _temp (is warm/hot/sweltering) & out _temp (is any)
& in_humidity (is any) & out_humidity (is any)
THEN ac ON ELSE OFF
//////////////////////////////////////////////
The first line of the conditions set is easy to implement using the not operator, but where (is any) implied it means the condition will be listed as 3x4x4x3 =144 times.
is there any way to implemt the (is any) in different method to avoid the duplication?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/733884/image.png)
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Fuzzy Logic Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!