ai – cs289 fuzzy logic - labs fuzzy logic – lab 1 starting up… 05 th october 2006 dr bogdan l....
TRANSCRIPT
![Page 1: AI – CS289 Fuzzy Logic - Labs Fuzzy Logic – Lab 1 Starting up… 05 th October 2006 Dr Bogdan L. Vrusias b.vrusias@surrey.ac.uk](https://reader035.vdocument.in/reader035/viewer/2022071715/56649ec05503460f94bcbaee/html5/thumbnails/1.jpg)
AI – CS289AI – CS289Fuzzy Logic - LabsFuzzy Logic - Labs
Fuzzy Logic – Lab 1Fuzzy Logic – Lab 1Starting up…Starting up…
05th October 2006
Dr Bogdan L. [email protected]
![Page 2: AI – CS289 Fuzzy Logic - Labs Fuzzy Logic – Lab 1 Starting up… 05 th October 2006 Dr Bogdan L. Vrusias b.vrusias@surrey.ac.uk](https://reader035.vdocument.in/reader035/viewer/2022071715/56649ec05503460f94bcbaee/html5/thumbnails/2.jpg)
05th October 2006 Bogdan L. Vrusias © 2006 2
AI – CS289AI – CS289Fuzzy Logic - LabsFuzzy Logic - Labs
ContentsContents• Working from Windows (e.g. AP labs)
• Working from your own PC
• Working from the BB labs (Linux)
• Matlab examples
![Page 3: AI – CS289 Fuzzy Logic - Labs Fuzzy Logic – Lab 1 Starting up… 05 th October 2006 Dr Bogdan L. Vrusias b.vrusias@surrey.ac.uk](https://reader035.vdocument.in/reader035/viewer/2022071715/56649ec05503460f94bcbaee/html5/thumbnails/3.jpg)
05th October 2006 Bogdan L. Vrusias © 2006 3
AI – CS289AI – CS289Fuzzy Logic - LabsFuzzy Logic - Labs
Working EnvironmentWorking Environment• Three ways to run Matlab:
– On a Windows environment (using a terminal emulation software like Exceed)
– On the BB Linux labs
– A third way would be to download a 30 day trial version of Matlab on your own PC.
![Page 4: AI – CS289 Fuzzy Logic - Labs Fuzzy Logic – Lab 1 Starting up… 05 th October 2006 Dr Bogdan L. Vrusias b.vrusias@surrey.ac.uk](https://reader035.vdocument.in/reader035/viewer/2022071715/56649ec05503460f94bcbaee/html5/thumbnails/4.jpg)
05th October 2006 Bogdan L. Vrusias © 2006 4
AI – CS289AI – CS289Fuzzy Logic - LabsFuzzy Logic - Labs
Windows Environment (AP labs)Windows Environment (AP labs)• i.e. AP2 labs
• Go to:– Start>All Programs>Unix Login, FTP & Client>EE Tweek
• You should see a window like:
• Type in your username and password and you should then get a terminal window. On the terminal window type:matlab &
![Page 5: AI – CS289 Fuzzy Logic - Labs Fuzzy Logic – Lab 1 Starting up… 05 th October 2006 Dr Bogdan L. Vrusias b.vrusias@surrey.ac.uk](https://reader035.vdocument.in/reader035/viewer/2022071715/56649ec05503460f94bcbaee/html5/thumbnails/5.jpg)
05th October 2006 Bogdan L. Vrusias © 2006 5
AI – CS289AI – CS289Fuzzy Logic - LabsFuzzy Logic - Labs
Windows Environment 2Windows Environment 2• i.e. Your own computer (from within the campus)• Skip this if you are in the AP labs!!!
• Run a telnet window:– E.g. Start>Run and then type:telnet tweek.ee.surrey.ac.uk
• Login, and then, on the telnet window type:setenv DISPLAY 131.227.68.123:0.0Where 131.227.68.123 is your computer’s IP address, or alternately you may enter the computer’s network name.
then type:matlab &
![Page 6: AI – CS289 Fuzzy Logic - Labs Fuzzy Logic – Lab 1 Starting up… 05 th October 2006 Dr Bogdan L. Vrusias b.vrusias@surrey.ac.uk](https://reader035.vdocument.in/reader035/viewer/2022071715/56649ec05503460f94bcbaee/html5/thumbnails/6.jpg)
05th October 2006 Bogdan L. Vrusias © 2006 6
AI – CS289AI – CS289Fuzzy Logic - LabsFuzzy Logic - Labs
BB Linux labsBB Linux labs• Skip this if you are in the AP labs!!!
• Login to a PC in 34BB04
• Method 1:– Go to Application>Academic Software>Matlab
• Method 2:– Run a terminal window (preferably at tweek)
– Type: matlab &
![Page 7: AI – CS289 Fuzzy Logic - Labs Fuzzy Logic – Lab 1 Starting up… 05 th October 2006 Dr Bogdan L. Vrusias b.vrusias@surrey.ac.uk](https://reader035.vdocument.in/reader035/viewer/2022071715/56649ec05503460f94bcbaee/html5/thumbnails/7.jpg)
05th October 2006 Bogdan L. Vrusias © 2006 7
AI – CS289AI – CS289Fuzzy Logic - LabsFuzzy Logic - Labs
Loading the Fuzzy toolbox GUILoading the Fuzzy toolbox GUI• When Matlab loads, just type fuzzy on the main Matlab
command editor and press enter.
![Page 8: AI – CS289 Fuzzy Logic - Labs Fuzzy Logic – Lab 1 Starting up… 05 th October 2006 Dr Bogdan L. Vrusias b.vrusias@surrey.ac.uk](https://reader035.vdocument.in/reader035/viewer/2022071715/56649ec05503460f94bcbaee/html5/thumbnails/8.jpg)
05th October 2006 Bogdan L. Vrusias © 2006 8
AI – CS289AI – CS289Fuzzy Logic - LabsFuzzy Logic - Labs
Fuzzy toolbox GUIFuzzy toolbox GUI• The Fuzzy logic GUI main window should look like this:
• This window contains no data yet! You can either enter new data or load existing data files.
![Page 9: AI – CS289 Fuzzy Logic - Labs Fuzzy Logic – Lab 1 Starting up… 05 th October 2006 Dr Bogdan L. Vrusias b.vrusias@surrey.ac.uk](https://reader035.vdocument.in/reader035/viewer/2022071715/56649ec05503460f94bcbaee/html5/thumbnails/9.jpg)
05th October 2006 Bogdan L. Vrusias © 2006 9
AI – CS289AI – CS289Fuzzy Logic - LabsFuzzy Logic - Labs
Exploring the Fuzzy Logic ToolboxExploring the Fuzzy Logic ToolboxOPTIONAL
• Download and unzip the following file, that contains lots of fuzzy examples in Matlab:http://www.booksites.net/download/negnevitsky2/student_files/matlab/0321204662_matlab.zip
• or alternately:http://www.cs.surrey.ac.uk/teaching/cs289/lecturenotes/0321204662_matlab.zip
• Using the Fuzzy Logic Toolbox GUI, open a file from the ones you just downloaded (and unzipped):– File>Import>From Disk
• Use the menu options to see the rules, fuzzy graphs, etc.
• NOTE: You are not yet expected to understand the given Matlab examples. The purpose of today’s exercise is to make sure you can all login and load Matlab.
![Page 10: AI – CS289 Fuzzy Logic - Labs Fuzzy Logic – Lab 1 Starting up… 05 th October 2006 Dr Bogdan L. Vrusias b.vrusias@surrey.ac.uk](https://reader035.vdocument.in/reader035/viewer/2022071715/56649ec05503460f94bcbaee/html5/thumbnails/10.jpg)
05th October 2006 Bogdan L. Vrusias © 2006 10
AI – CS289AI – CS289Fuzzy Logic - LabsFuzzy Logic - Labs
Problems?Problems?• If you get into any technical problems:
– Try to see the AP student support representative
– If the problem persists, email me.
• It is important that we sort out all problems loading and using Matlab before the next lab.