Fuzzy Logic Toolbox in MATLAB Praktikum 10. example  We want to buid FIS Mamdani, with this rules :  1. If the service is poor or the food is rancid,

Slides:



Advertisements
Similar presentations
An Introduction to Spreadsheets Using Number Magic Malcolm Wilson ICT Curriculum Support Teacher (Primary) Falkirk Council.
Advertisements

Accessing Your Data Using Reports, Grids and Queries.
Using Microsoft ® Excel Formulas and Functions Start Microsoft ® Excel. Type data into cells as shown.
Formulas, Functions, Formatting, and Web Queries
AI – CS289 Fuzzy Logic - Labs Fuzzy Logic – Lab 2 12 th October 2006 Dr Bogdan L. Vrusias
1 After completing this lesson, you will be able to: Create a workbook. Understand Microsoft Excel window elements. Select cells. Enter text, numbers,
Chapter 2 Formulas, Functions, and Formatting
1 After completing this lesson, you will be able to: Add a header and footer to a worksheet. Change margins and center a worksheet. Change the orientation.
MICROSOFT OFFICE 2013 EXCEL 1. 2 File Tab 1 Title Bar 5. Group 7 Name Box 6 Active Cell 8 Formula Bar 4 Ribbon 9 Column 10. Row 11 Sheet Tabs 12 View.
Advanced Microsoft Word Hosted by Jared Hoffman Topics Keyboard Shortcuts Customizing Toolbars and Menus Auto Format & Auto Correct Tabs Inserting Pictures.
UNESCO ICTLIP Module 4. Lesson 3 Database Design, and Information Storage and Retrieval Lesson 3. Information storage and retrieval using WinISIS.
This presentation contains the following: -the availability and need menu options -the add option Mark Smith.
Copyright 2007, Paradigm Publishing Inc. POWERPOINT 2007 CHAPTER 1 BACKNEXTEND 1-1 LINKS TO OBJECTIVES Create Presentation Open, Save, Run, Print, Close,Delete.
L13_3 Microsoft Excel - Enhancing a Worksheet and Chart * Using the Fill Handle to Create a Series * Copying a Cell’s Format Using the Format Painter *
Simulation of Created Design Documentation on the simulation process of a basic injector-separation channel model design.
Formula Auditing, Data Validation, and Complex Problem Solving
Using the Unity 98 Cordless Response System Directions : Courtesy of IHC public relations.
Copyright 2003, Paradigm Publishing Inc. CHAPTER 7 BACKNEXTEND 7-1 LINKS TO OBJECTIVES Create a Chart Create in a Separate Worksheet Create in a Separate.
Preparing and Adding Multimedia. Speaker’s Notes This place used for writing important notes on the presentation slide that you will be talking about.
Matlab Fuzzy Toolkit Example
Creating FrontPage Tasks The task view allows you to add information about what you want to accomplish when creating your Web site.
Fuzzy Logic. Sumber (download juga): 0logic%20toolbox.pdf
DEMONSTRATION FOR SIGMA DATA ACQUISITION MODULES Tempatron Ltd Data Measurements Division Darwin Close Reading RG2 0TB UK T : +44 (0) F :
Digital Image Processing Lecture3: Introduction to MATLAB.
In Shape with Visio Creating a Timeline To create a timeline 1.Open Visio Under Category, click Project Schedule. 3.Click Timeline, and.
Hello World In C++ and Microsoft Visual C++. Directions to begin a project 1. Go to All Programs 2. Open Visual Studio C++ 3. Click on New Project 4.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. WORD 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 22 Macros.
Creating a Web Site to Gather Data and Conduct Research.
Intro to C++. Getting Started with Microsoft Visual Studios Open Microsoft Visual Studios 2010 Click on file Click on New Project Choose Visual C++ on.
ROBOTICS MY BLOCKS. OBJECTIVES Create, edit and configure a my block Insert a my block inside a program and test its functionality.
Excel Chapters -5,6. Pivot Table  When you have a lot of data, it can sometimes be difficult to analyze all of the information in your worksheet.  PivotTables.
Creating a Project with C++ Builder
October 13, MATLAB Fuzzy Logic Toolbox Intelligent Control.
JMP Example 2 Say you take 5 measurements for the yield from a granulator and find the mean measurement. You repeat this process 50 times, to generate.
Fuzzy Inference (Expert) System
Created by Tammillye Ward Thinkgate Using Thinkgate to Answer the 4 Critical Questions of a PLC What do we want the students to learn? How will we know.
Tables Sacramento City College Engineering Design Technology.
Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter.
Creating Histograms on the TI-84 and in Excel Mr. Ricks Madison High School.
CS320n –Visual Programming More LabVIEW Foundations.
Chapter 23. Copyright 2003, Paradigm Publishing Inc. CHAPTER 23 BACKNEXTEND 23-2 LINKS TO OBJECTIVES Record, Run, Pause, and Delete Macros Record, Run,
Microsoft Excel 2010 Chapter 2 Formulas, Functions, and Formatting.
Dreamweaver MX. 2 Tools for Code Editing (p. 366) n An HTML editor like Dreamweaver writes most of the code you need, but at times you will need to perform.
Pigs Galore Spreadsheet User Documentation oink Begin.
Select “Start New Project”. Select “Add Files”
Stock Market Project Supply Chain Management Application Workshop.
Web Page-Chapter 6 Forms. Inserting a Form  Display the Insert bar  Click the arrow to the right of the display category on the Insert bar and then.
Using Microsoft® Excel This presentation is designed for Chapter 1, Section 1.2.
Creating and Editing a Web Page
Unit 3: Text, Fields & Tables DT2510: Advanced CAD Methods.
Creating bibliographic records from templates Click on New icon or Record>New>Bibliographic When Select Bibliographic template dialog box opens double.
Intro Compiler Configuration and Sample Project Walkthrough (For Axiom CME11E9-EVB)
PMS RI 2010/2011 Prof. dr Zikrija Avdagić, dipl.ing.el. ANFIS Editor GUI ANFIS Editor GUI.
Chapter 28. Copyright 2003, Paradigm Publishing Inc. CHAPTER 28 BACKNEXTEND 28-2 LINKS TO OBJECTIVES Table Calculations Table Properties Fields in a Table.
0 Configuring a 3500 Using iTools 2 iTools Workshop - getting started Start iTools and from the New File menu choose 3504 v1.04 programmer.
Chapter 11 Collaboration Features for Workbooks Microsoft Excel 2013.
You’ll Make a spreadsheet which will be like a Mad Libs Game. These Are The Directions.
CS 281 – Fall 2010 Lab 4 Parametric Query and Forms in MS Access.
Chapter 4 Financial Functions, Data Tables, and Amortization Schedules Microsoft Excel 2013.
Excel Functions. Part 1. Introduction 2 An Excel function is a formula or a procedure that is performed in the Visual Basic environment, outside the.
VAB™ for INFINITY Tutorial
DRAWING LINES To draw lines click View in the Main Menu Toolbar -> Toolbars and check the Editor option. The Editor toolbar will appear amongst the toobars.
MATLAB Fuzzy Logic Toolbox
MATLAB Fuzzy Logic Toolbox
Microsoft Excel 101.
Procedure for Obtaining & Comparing Land and Water Temperature data Using MY NASA DATA’s Live Access Server.
In Shape with Visio 2002.
Excel: Excel Basics Participation Project
Lesson 1 - Automating Tasks
Skills Sheet: ‘Organising, saving & touring placemarks’
Presentation transcript:

Fuzzy Logic Toolbox in MATLAB Praktikum 10

example  We want to buid FIS Mamdani, with this rules :  1. If the service is poor or the food is rancid, then tip is cheap.  2. If the service is good, then tip is average.  3. If the service is excellent or the food is delicious, then tip is generous.

How to run it?  Run Matlab  Type fuzzy in command window, then push enter in your keyboard

How to build new FIS Mamdani?  Select New Fis > Mamdani in the File menu

Adding input variable  Select Add variable… -> Input from the Edit menu

Changing input and output name Click once on the box (yellow) on the left marked input1 (the box will be highlighted in red). In the white edit field on the right, change input1 to service and press Enter. Click once on the box (yellow) marked input2 (the box will be highlighted in red). In the white edit field on the right, change input2 to food and press Enter. Click once on the box (blue) on the right marked output1. In the white edit field on the right, change output1 to tip and press Enter.

The result

Export to Matlab workspace  From the File menu, select Export and then To Workspace...

 Put the FIS name in the box  Then push OK

Define the membership function  Open the Membership Function Editor by Select Membership function.. From the Edit menu  Or push Ctrl+2 in your keyboard

 Select the input variable, service, by double-clicking on it.  Set both the Range and the Display Range to the vector [0 10].  Select Add MFs... from the Edit menu. The window below pops open

 Use the pull-down tab to choose gaussmf for MF Type and 3 for Number of MFs. This adds three Gaussian curves to the input variable service.

 Delete another MF, that will not be used (the trimf), by  Select it  Push Delete in your keyboard

The result

Service? Click once on the curve with the leftmost hump. Change the name of the curve to poor. To adjust the shape of the membership function, type in a desired parameter change, and then click on the membership function. The default parameter listing for this curve is [1.5 0]. Name the curve with the middle hump, good, and the curve with the rightmost hump, excellent. Reset the associated parameters if desired.

Food? Select the input variable, food, by clicking on it. Set both the Range and the Display Range to the vector [0 10]. Select Add MFs... from the Edit menu and add two trapmf curves to the input variable food. Delete another MF, that will not be used (the trimf) Click once directly on the curve with the leftmost trapezoid. Change the name of the curve to rancid. To adjust the shape of the membership function, type in a desired parameter change, and then click on the membership function. The default parameter listing for this curve is [ ]. Name the curve with the rightmost trapezoid, delicious, and reset the associated parameters if desired.

create the membership functions for the output variable (tip) To create the output variable membership functions, use the Variable Palette on the left, selecting the output variable, tip. The inputs ranged from 0 to 10, but the output scale is going to be a tip between 5 and 25 percent. Use triangular membership function types (trimf) for the output. First, set the Range (and the Display Range) to [0 30], to cover the output range. Initially, the cheap membership function will have the parameters [0 5 10], the average membership function will be [ ], and the generous membership function will be [ ].

Adding rule

Insert all rules  Example,To insert the first rule in the Rule Editor, select the following:  poor under the variable service  rancid under the variable food  The or radio button, in the Connection block  And select cheap, under the output variable, tip.  Click Close to finish

Testing or view the rule

Surface view