.


:




:

































 

 

 

 





 

:

;

Fuzzy Toolbox Matlab;

Matlab.

 

 

, . (fuzzy sets) (fuzzy logic) (Lotfi Zadeh) 1965 . , .

:

: , , ( , ..);

: "", "", ";

, ;

.

(fuzzy logic inference) Y = f (x 1, x 2, , xn) , , , .

, , :

1) , .. xk (k = 1, , n);

2) :

, .. (). , , , ( Ȼ, Ȼ);

. Ȼ;

3) , .. ( Ȼ);

4) , . (centroid) , ;

().

1. :

x = { (S), (M), (L)};

y = { (S), (L)};

z = { (S), (L)}.

2. (. 3):

 

. 3. ,

: ; ; .

 

3. , :

= ɻ = ߻ = Ż

, x, y z . 1:

 

 

1

 

x y S M L
S S L L
L S S L

 

4. x = x * y = y * (. 4)

 

 
 

 

 
 

 

 
 

5. 1 - 4, (. 5).

 

α3 = max { α1, α3, α4}

. 5.

 

 

2.3. Matlab

 

Matlab The MathWorks. , , , .

Matlab (. 6), :

1) ;

2) ;

3) Launch Pad ;

4) Command History ;

5) Command Window .

 

. 6. Matlab

 

, , . Launch Pad . fuzzy.

Fuzzy Toolbox (. 7) :

1) ;

2) ;

3) .

 

. 7. Fuzzy Logic Toolbox

 

EditAdd VariableInput. EditRemove Selected Variable.

, / EditMembership Functions (. 8).

 

. 8.

 

. 8 1 - 4 :

1 , ;

2 ;

3 :

range , ;

display range , ;

4 :

name ;

type (trimf , trapmf , gauss );

params .

, EditAdd MFs, .

EditRemove Selected MF.

EditRules (. 9).

 

. 9.

 

. 9 1 - 6 :

1 ;

2 ;

3
();

4 (/);

5 ;

6 :

Delete Rule , ;

Add Rule ;

Change Rule , .

, Add Rule.

, Delete Rule.

ViewRules.

 

. 10.

 

Input . Output .

Matlab .

1. Fuzzy Logic Toolbox fuzzy.

2. , EditAdd VariableInput (. 11):

 

. 11.

 

3. (. 12):

 

. 12.

 

4. (. 13):

 

. 13.

5. , ViewRules (. 14):

 

. 14.

 


 

 

1

1.1

x y z

 

1.2

x y z

 

1.3

x y z

 

2

2.1

x y z

 

2.2

x y z

 

 

2.3

x y z

 

3.

3.1

x y z

 

3.2

x y z

 

3.3

x y z

4.

4.1

y - z

 

 

4.2

x y z  

 

 

4.3

x y z

 

5

5.1

x y z

 

5.2

x y z

 

5.3

x y z

 





:


: 2017-02-11; !; : 459 |


:

:

- - , .
==> ...

1622 - | 1583 -


© 2015-2024 lektsii.org - -

: 0.043 .