首页 > > 详细

ELEE 5400/440讲解、辅导Intelligence Techniques、matlab编程设计辅导、matlab讲解 讲解留学生P

ELEE 5400/440 - Computational Intelligence Techniques
ASSIGNMENT_1
DUE_WED_OCTOBER 16
Total Points: 100: All the following problems must be tackled analytically and using
Matlab to receive full marks.
Please Write Neatly & Clearly, submit the assignment as a written report, either on paper
or upload your PDF file to Blackboard.
-------------------------------------------------------------------------------------------------------------------------------
Question_1:
Consider the following two membership functions A and B defined as follows:
A: Triangular membership function at 3, 6, 8 crisp values
B: Generalized Bell Shaped Membership Function at 1, 3, 7 crisp values,
Using Matlab (fuzarith) Toolbox in Matlab, create a script and plot the following fuzzy arithmetic
operations:
1- Fuzzy addition A+B
2- Fuzzy addition A+B’
3- Fuzzy Product A.B, Note: experiment with more than algebraic product
4- Fuzzy division A\B
Hint, the following function can be starting point in several fuzzy operations:
% Triangular membership function
x=0:0.1:10;
y=trimf(x,[3 6 8]);
plot(x,y);
xlabel('trimf, P=[3 6 8]');
title('Triangular
-------------------------------------------------------------------------------------------------------------------------------
Question_2:
Assume X = N is a set of natural numbers, Given the following fuzzy set A ⊆ X
a) The set of real numbers “close to number 7” is defined by the following membership function:
b) Another way of defining the above membership function could be defined as follows:
1- For parts a and b, Derive the fuzzy set A for the crisp values from 4 to 10
2- Plot the two methods of knowledge representation using the above mentioned fuzzy sets, i.e.
the two membership functions:
-------------------------------------------------------------------------------------------------------------------------------
Question_3:
Consider following three imprecise statements:
1) “low speed of the car”,
2) “medium speed of the car”,
3) “high speed of the car”.
Consider the universe of discourse X: [0, xmax] where xmax is the maximum speed
Create the membership functions graph illustrating fuzzy sets A, B, C corresponding to the
above statements as follows:
• Set A is of the L type,
• Set B is of the T type,
• Set C is the class γ (Gamma).
• Consider 3 speeds: 30, 50 and 70 mph
Hint: For matlab solutions, possibility of using the function trimf for T type,
-------------------------------------------------------------------------------------------------------------------------------
Question_4:
Given the following fuzzy sets:
A = B =
C = D =
Find: the following fuzzy set decompositions:
1. A ∩ B ∩ C ∩ D,
2. A ∪ B ∪ C ∪ D,
3. A · B . C . D
-------------------------------------------------------------------------------------------------------------------------------
Question_5:
Consider the following universe of discourse X = {1, 2, 3, 4, 5, 6, 7}
Find: A ∩ B, A ∪ B, and A · B (for Algebraic product, any other product would be acceptable)
-------------------------------------------------------------------------------------------------------------------------------
Question_6:
The fuzzy relation R between the two sets X and Y is given by:
R = {((x, y) , μR (x, y))} , ∀x∈X∀y∈Y, μR : X × Y →[0, 1]
Given: X = {3, 4, 5} and Y = {4, 5, 6}
Using the following definition for R to formalize the following imprecise statement:
“y is more or less equal to x ”:
a) Create the fuzzy set R based on the mentioned membership format
b) Create the fuzzy set R in Matrix Format: (y1, y2, y3: RAWS, x1, x2, x3: Columns)
-------------------------------------------------------------------------------------------------------------------------------
Question_7:
Given the following universe of discourse X = {1, 2, 3, 4, 5, 6}, and the fuzzy set A as follows:
a) Find the complement of the set A:
b) Given the following new universe of discourse X = {1, 2, 3, 4}, and the fuzzy set A as follows:
Find CONA(A) and DIL(A)
-------------------------------------------------------------------------------------------------------------------------------
Question_8:
Assume that relations R and S are represented by matrices as follows:
X = {x1, x2} Y = {y1, y2} Z = {z1, z2, z3}.
Determine the max-min type composition of the relations R and S: Q = R ◦ S
Hint: Consider the matix Q, with elelemts as follows:
q11 = max [min (0.2; 0.3) , min (0.5; 0.7)] = 0.5,
q23 = max [min (0.6; 0.8) , min (1; 0.4)] = 0.6.
-------------------------------------------------------------------------------------------------------------------------------
Question_9:
Arrange the following steps applied in fuzzy control in the right order, you can just re-write the
step numbers in the right order:
1. Convert the output data to non-fuzzy values
2. Construct the rule base
3. Evaluate the rules in the rule base
4. Combine the results of each rule
5. Define the linguistic variables and terms
6. Convert crisp input data to fuzzy values using the membership functions
7. Construct the membership functions
-------------------------------------------------------------------------------------------------------------------------------
Question_10:
Create a full FIS using Matlab FIS toolbox based on the following info:
Input 2: Temp: {Freezing, Cool, Warm, Hot}
10 30 50 70 90 110 Temp. (F°)
Freezing Cool Warm Hot
0
1
Output:
Speed: {Slow, Fast}
0 25 50 75 100 Speed (mph)
Slow Fast
0
1
Input 1: Cover: {Sunny, Partly, Overcast}
0 20 40 60 80 100 Cloud Cover (%)
Sunny Partly Cloudy Overcast
0
1
Rules:
R1: If it's Sunny and Warm, drive Fast
Meaning: Sunny(Cover)Warm(Temp) Fast(Speed)
R2: If it's Cloudy and Cool, drive Slow
Meaning: Cloudy(Cover)Cool(Temp) Slow(Speed)
a) How fast will will be the speed based on the following inputs:
❖ 65 F°
❖ 25 % Cloud Cover?
Ans: 63.8 mph, should achieve this answer (or close) using matlab FIS toolbox

联系我们
  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-21:00
  • 微信:codinghelp
热点标签

联系我们 - QQ: 99515681 微信:codinghelp
程序辅导网!