720 likes | 1.6k Views
MATLAB Fuzzy Logic Toolbox. Intelligent Control. MATLAB Fuzzy Logic Toolbox. Introduction Example: Dinner for two. MATLAB Fuzzy Logic Toolbox. Introduction Example: Dinner for two. Introduction. The MATLAB fuzzy logic toolbox facilitates the development of fuzzy-logic systems using:
E N D
MATLAB Fuzzy Logic Toolbox Intelligent Control
MATLAB Fuzzy Logic Toolbox • Introduction • Example: Dinner for two
MATLAB Fuzzy Logic Toolbox • Introduction • Example: Dinner for two
Introduction The MATLAB fuzzy logic toolbox facilitates the development of fuzzy-logic systems using: • graphical user interface (GUI) tools • command line functionality The tool can be used for building • Fuzzy Expert Systems • Adaptive Neuro-Fuzzy Inference Systems (ANFIS)
General Vision ThreeInterfaces: matlab/simulink/ independent code
Introduction • Graphical User Interface (GUI) Tools • There are five primary GUI tools for building, editing, and observing fuzzy inference systems in the Fuzzy Logic Toolbox: • Fuzzy Inference System (FIS) Editor • Membership Function Editor • Rule Editor • Rule Viewer • Surface Viewer
Introduction Graphical User Interface (GUI) Tools
MATLAB Fuzzy Logic Toolbox • Introduction • Example: Dinner for two
Building a FIS from scratch • The Basic Tipping Problem. Given a number between 0 and 10 that represents the quality of service at a restaurant (where 10 is excellent), and another number between 0 and 10 that represents the quality of the food at that restaurant (again, 10 is excellent), what should the tip be?
Example: Dinner for two • Golden rules for tipping: • IF the service is poor OR the food is rancid, THEN tip is cheap (5%). • 2. IF the service is good, THEN tip is average (15%). • 3. IF the service is excellent OR the food is delicious, THEN tip is generous (25%).
Fuzzy Logic Toolbox (GUI) • Start the toolbox:
Example: Dinner for two Fuzzy Inference System (FIS) Editor
FIS Editor Fuzzy Inference System (FIS) Editor
Example: Dinner for two Membership Function Editor
Membership Function Editor Fuzzy Inference System (FIS) Editor
Example: Dinner for two Rule Editor
Rule Editor Fuzzy Inference System (FIS) Editor
Example: Dinner for two Rule Viewer
Rule Viewer Fuzzy Inference System (FIS) Editor
Example: Dinner for two Surface Viewer
Surface Viewer Fuzzy Inference System (FIS) Editor