matlab fuzzy logic toolbox · 2018. 6. 5. · 3 matlab fuzzy logic toolbox facilitates the...

19
1 MATLAB Fuzzy Logic Toolbox MATLAB Fuzzy Logic Toolbox

Upload: others

Post on 02-Mar-2021

48 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: MATLAB Fuzzy Logic Toolbox · 2018. 6. 5. · 3 MATLAB fuzzy logic toolbox facilitates the development of fuzzy-logic systems using: Introduction The tool can be used for building

1

MATLAB Fuzzy Logic ToolboxMATLAB Fuzzy Logic Toolbox

Page 2: MATLAB Fuzzy Logic Toolbox · 2018. 6. 5. · 3 MATLAB fuzzy logic toolbox facilitates the development of fuzzy-logic systems using: Introduction The tool can be used for building

2

Introduction

Graphical User Interface (GUI) Tools

Example: Dinner for two

MATLAB Fuzzy Logic ToolboxMATLAB Fuzzy Logic Toolbox

Page 3: MATLAB Fuzzy Logic Toolbox · 2018. 6. 5. · 3 MATLAB fuzzy logic toolbox facilitates the development of fuzzy-logic systems using: Introduction The tool can be used for building

3

MATLAB fuzzy logic toolbox facilitates the development of fuzzy-logic systems using:

IntroductionIntroduction

The tool can be used for building

• Fuzzy Expert Systems

• Adaptive Neuro-Fuzzy Inference Systems (ANFIS)

• graphical user interface (GUI) tools

• command line functionality

Page 4: MATLAB Fuzzy Logic Toolbox · 2018. 6. 5. · 3 MATLAB fuzzy logic toolbox facilitates the development of fuzzy-logic systems using: Introduction The tool can be used for building

4

Graphical User Interface (GUI) Tools

IntroductionIntroduction

• Fuzzy Inference System (FIS) Editor

• Membership Function Editor

• Rule Editor

• Rule Viewer

• Surface Viewer

There are five primary GUI tools for building, editing, and observing fuzzy inference systems in the Fuzzy Logic Toolbox:

Page 5: MATLAB Fuzzy Logic Toolbox · 2018. 6. 5. · 3 MATLAB fuzzy logic toolbox facilitates the development of fuzzy-logic systems using: Introduction The tool can be used for building

5

Introduction

Graphical User Interface (GUI) Tools

Example: Dinner for two

MATLAB Fuzzy Logic ToolboxMATLAB Fuzzy Logic Toolbox

Page 6: MATLAB Fuzzy Logic Toolbox · 2018. 6. 5. · 3 MATLAB fuzzy logic toolbox facilitates the development of fuzzy-logic systems using: Introduction The tool can be used for building

6

Graphical User Interface (GUI) ToolsGraphical User Interface (GUI) Tools

Page 7: MATLAB Fuzzy Logic Toolbox · 2018. 6. 5. · 3 MATLAB fuzzy logic toolbox facilitates the development of fuzzy-logic systems using: Introduction The tool can be used for building

7

Fuzzy Inference System (FIS) Editor

Adjust fuzzy inference functions

Define number of input and output

variables

Name and edit names of input, output variables

Graphical User Interface (GUI) ToolsGraphical User Interface (GUI) Tools

Page 8: MATLAB Fuzzy Logic Toolbox · 2018. 6. 5. · 3 MATLAB fuzzy logic toolbox facilitates the development of fuzzy-logic systems using: Introduction The tool can be used for building

8

Membership Function Editor

Display & edit values of current

variable

Select & edit attributes of membership

function

Name & edit parameters of membership

function

Graphical User Interface (GUI) ToolsGraphical User Interface (GUI) Tools

Page 9: MATLAB Fuzzy Logic Toolbox · 2018. 6. 5. · 3 MATLAB fuzzy logic toolbox facilitates the development of fuzzy-logic systems using: Introduction The tool can be used for building

9

Rule Editor

Create and edit rules

Rules – automatically

updated

Graphical User Interface (GUI) ToolsGraphical User Interface (GUI) Tools

Page 10: MATLAB Fuzzy Logic Toolbox · 2018. 6. 5. · 3 MATLAB fuzzy logic toolbox facilitates the development of fuzzy-logic systems using: Introduction The tool can be used for building

10

Rule Viewer

Shows how output variable is used in

rules; shows output of fuzzy

system

Shows how input variable is used in

rules

Graphical User Interface (GUI) ToolsGraphical User Interface (GUI) Tools

Page 11: MATLAB Fuzzy Logic Toolbox · 2018. 6. 5. · 3 MATLAB fuzzy logic toolbox facilitates the development of fuzzy-logic systems using: Introduction The tool can be used for building

11

Surface Viewer

Shows output surface for any system output

versus any one (or two) inputsSpecify input and

output variables

Graphical User Interface (GUI) ToolsGraphical User Interface (GUI) Tools

Page 12: MATLAB Fuzzy Logic Toolbox · 2018. 6. 5. · 3 MATLAB fuzzy logic toolbox facilitates the development of fuzzy-logic systems using: Introduction The tool can be used for building

12

Introduction

Graphical User Interface (GUI) Tools

Example: Dinner for two

MATLAB Fuzzy Logic ToolboxMATLAB Fuzzy Logic Toolbox

Page 13: MATLAB Fuzzy Logic Toolbox · 2018. 6. 5. · 3 MATLAB fuzzy logic toolbox facilitates the development of fuzzy-logic systems using: Introduction The tool can be used for building

13

Example: Dinner for twoExample: Dinner for two

Golden rules for tipping:

1. 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%).

Page 14: MATLAB Fuzzy Logic Toolbox · 2018. 6. 5. · 3 MATLAB fuzzy logic toolbox facilitates the development of fuzzy-logic systems using: Introduction The tool can be used for building

14

Example: Dinner for twoExample: Dinner for two

Page 15: MATLAB Fuzzy Logic Toolbox · 2018. 6. 5. · 3 MATLAB fuzzy logic toolbox facilitates the development of fuzzy-logic systems using: Introduction The tool can be used for building

15

Example: Dinner for twoExample: Dinner for two

Fuzzy Inference System (FIS) Editor

input variables

output variable

Page 16: MATLAB Fuzzy Logic Toolbox · 2018. 6. 5. · 3 MATLAB fuzzy logic toolbox facilitates the development of fuzzy-logic systems using: Introduction The tool can be used for building

16

Example: Dinner for twoExample: Dinner for two

Membership Function Editor

Select type of membership

function

Page 17: MATLAB Fuzzy Logic Toolbox · 2018. 6. 5. · 3 MATLAB fuzzy logic toolbox facilitates the development of fuzzy-logic systems using: Introduction The tool can be used for building

17

Example: Dinner for twoExample: Dinner for two

Rule Editor

Page 18: MATLAB Fuzzy Logic Toolbox · 2018. 6. 5. · 3 MATLAB fuzzy logic toolbox facilitates the development of fuzzy-logic systems using: Introduction The tool can be used for building

18

Example: Dinner for twoExample: Dinner for two

Rule Viewer Defuzzified output

Page 19: MATLAB Fuzzy Logic Toolbox · 2018. 6. 5. · 3 MATLAB fuzzy logic toolbox facilitates the development of fuzzy-logic systems using: Introduction The tool can be used for building

19

Example: Dinner for twoExample: Dinner for two

Surface Viewer