Sie sind auf Seite 1von 2

UNIVERSITY OF REGINA FACULTY OF ENGINEERING ENIN 880 AJ Introduction to Intelligent Systems Dr. Rene V.

Mayorga Lab#3 Fuzzy Inference System (FIS)

Properly document all your Matlab programs and include their copies in your Lab Report. Be prepared to demonstrate on-line your results in the computers. A. Use Mamdani-type fuzzy inference for the problem with input X [-10, 10] and output Y [0, 10]. Rules: 1. If X is small then Y is small. 2. If X is medium then Y is medium. 3. If X is large then Y is large. B. Use Mamdani-type fuzzy inference for the problem with input X [-10, 10] and Y [0, 10], and output Z [-5, 5]. Rules: 1. If X is small and Y is small then Z is negative large. 2. If X is small and Y is large then Z is negative small. 3. If X is large and Y is small then Z is positive small. 4. If X is large and Y is large then Z is positive large. C. Use Sugeno-type fuzzy inference for the problem with input X [-5, 5]. Rules: 1. If X is small then Y = 0.1X + 6.4. 2. If X is medium then Y = -0.5X + 4. 3. If X is large then Y = X 2. D. Use Sugeno-type fuzzy inference for the problem with input X [-5, 5] and Y [-5, 5]. Rules: 1. If X is small and Y is small then Z = -X + y + 1. 2. If X is small and Y is large then Z = -y + 3. 3. If X is large and Y is small then Z = -x + 3. 4. If X is large and Y is large then Z = X + Y + 2. E. Use Mamdani-type fuzzy inference for washing machine problem. The inputs are softness and quality and the output is cycle.

Suggestion Input: Output: softness = soft, normalsoft, normalhard, hard quantity = small, medium, large cycle = delicate, light, normal, strong

Rules: 1. If softness is soft and quantity is small then cycle is delicate. 2. If softness is soft and quantity is medium then cycle is light. 3. If softness is soft and quantity is large then cycle is normal. 4. If softness is normalsoft and quantity is small then cycle is light. 5. If softness is normalsoft and quantity is medium then cycle is normal. 6. If softness is normalsoft and quantity is large then cycle is normal. 7. If softness is normalhard and quantity is small then cycle is light. 8. If softness is normalhard and quantity is medium then cycle is normal. 9. If softness is normalhard and quantity is large then cycle is strong. 10. If softness is hard and quantity is small then cycle is light. 11. If softness is hard and quantity is medium then cycle is normal. 12. If softness is hard and quantity is large then cycle is strong.

Das könnte Ihnen auch gefallen