Fuzzy parameters in Fuzzy Interface Structure

Hi everyone...Is there someone who can guide me about fuzzy parameters..I have uploaded the image having Fuzzy Interface Structure at http://tinypic.com/view.php?pic=fcpgn6&s=6
what the field 'params' is showing and what the three values [-6.667 -5 -3.333] are depicting. Any help would be highly appreciated.

11 件のコメント

Beenish Mazhar
Beenish Mazhar 2013 年 4 月 12 日
Is there no one to answer any question related to fuzzy logic?
Iman Ansari
Iman Ansari 2013 年 4 月 12 日
The link is OK?
Beenish Mazhar
Beenish Mazhar 2013 年 4 月 12 日
Sorry..what are you trying to say?
Iman Ansari
Iman Ansari 2013 年 4 月 12 日
I can't see your picture in http://tinypic.com/view.php?pic=fcpgn6&s=6
Beenish Mazhar
Beenish Mazhar 2013 年 4 月 12 日
I can see it clearly. Now where should I upload it again?
Beenish Mazhar
Beenish Mazhar 2013 年 4 月 12 日
Iman Ansari
Iman Ansari 2013 年 4 月 12 日
Sorry, My internet browser didn't show anything. These are your Triangular-shaped membership function parameters. See 'trimf' in help.
Beenish Mazhar
Beenish Mazhar 2013 年 4 月 12 日
k I got it. One thing more please guide me that according to fuzzy logic we assign membership values to input variables. In this FIS where I am forming fuzzy sets. How can I view them.
Iman Ansari
Iman Ansari 2013 年 4 月 12 日
編集済み: Iman Ansari 2013 年 4 月 14 日
In edit menu you can add your membership functions. You can code it or in GUI use edit menu to add rules or variables:
a = newfis('fis1.fis'); %create a new FIS file
a = addvar(a, 'input', 'x', [2 9]);%add and input variable 'x' into the FIS
a = addmf(a, 'input', 1, 'A1', 'trimf', [2 5 8]);%add 2 MFs into the variable x
a = addmf(a, 'input', 1, 'A2', 'trimf', [3 6 9]);
a = addvar(a, 'input', 'y', [4 11]);%add and input variable 'y' into the FIS
a = addmf(a, 'input', 2, 'B1', 'trimf', [5 8 11]);%add 2 MFs into the variable y
a = addmf(a, 'input', 2, 'B2', 'trimf', [4 7 10]);
a = addvar(a, 'output', 'z', [1 9]);%add and output variable 'z' into the FIS
a = addmf(a, 'output', 1, 'C1', 'trimf', [1 4 7]);%add 2 MFs into the variable z
a = addmf(a, 'output', 1, 'C2', 'trimf', [3 6 9]);
rulelist = [1 1 1 1 1]; %1 rule is defined and added into FIS
a = addrule(a, rulelist);
writefis(a, 'fis1.fis');
ruleview fis1
b=readfis('fis1');
out1=evalfis([5 8],b);
Beenish Mazhar
Beenish Mazhar 2013 年 4 月 13 日
編集済み: Beenish Mazhar 2013 年 4 月 13 日
Please just guide me one thing more Sir..I have implemented Fuzzy PID controllers. The fuzzy has two inputs and three outputs. The inputs are error and change in error. What fuzzy will do? According to input is fuzzified i.e we assign membership function to input. Then according to input values and membership values after performing and/or/ not operation and fuzzy rules will give the output. Am I right?
Beenish Mazhar
Beenish Mazhar 2013 年 4 月 13 日
Also Sir make your comment as answer so that I can accept it.

サインインしてコメントする。

 採用された回答

Iman Ansari
Iman Ansari 2013 年 4 月 13 日

0 投票

Yes, and use centroid deffuzzification method to compute output. You can change the 'and', 'OR' ,... methods in FIS Properties from Edit menu.

1 件のコメント

Beenish Mazhar
Beenish Mazhar 2013 年 4 月 14 日
Thankyou for your guidance and time.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeFuzzy Inference System Modeling についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by