summaryrefslogtreecommitdiff
path: root/examples/takagi-sugeno/octave/cubic_approximator.fis
blob: b69675bd3a7d3bbf578649a4be49da2a9e93f851 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
[System]
Name='Cubic-Approximator'
Type='sugeno'
NumInputs=1
NumOutputs=1
NumRules=11
AndMethod=''
OrMethod=''
ImpMethod=''
AggMethod=''
DefuzzMethod='wtaver'

[Input1]
Name='X'
Range=[-5.000 5.000]
NumMFs=11
MF1='AboutNegFive':'trimf',[-6.000 -5.000 -4.000]
MF2='AboutNegFour':'trimf',[-5.000 -4.000 -3.000]
MF3='AboutNegThree':'trimf',[-4.000 -3.000 -2.000]
MF4='AboutNegTwo':'trimf',[-3.000 -2.000 -1.000]
MF5='AboutNegOne':'trimf',[-2.000 -1.000 0.000]
MF6='AboutZero':'trimf',[-1.000 0.000 1.000]
MF7='AboutOne':'trimf',[0.000 1.000 2.000]
MF8='AboutTwo':'trimf',[1.000 2.000 3.000]
MF9='AboutThree':'trimf',[2.000 3.000 4.000]
MF10='AboutFour':'trimf',[3.000 4.000 5.000]
MF11='AboutFive':'trimf',[4.000 5.000 6.000]

[Output1]
Name='ApproxXCubed'
Range=[-5.000 5.000]
NumMFs=11
MF1='TangentatNegFive':'linear',[75.000 250.000]
MF2='TangentatNegFour':'linear',[48.000 128.000]
MF3='TangentatNegThree':'linear',[27.000 54.000]
MF4='TangentatNegTwo':'linear',[12.000 16.000]
MF5='TangentatNegOne':'linear',[3.000 2.000]
MF6='TangentatZero':'linear',[0.000 0.000]
MF7='TangentatOne':'linear',[3.000 -2.000]
MF8='TangentatTwo':'linear',[12.000 -16.000]
MF9='TangentatThree':'linear',[27.000 -54.000]
MF10='TangentatFour':'linear',[48.000 -128.000]
MF11='TangentatFive':'linear',[75.000 -250.000]

[Rules]
1.000 , 1.000 (1.000) : 1
2.000 , 2.000 (1.000) : 1
3.000 , 3.000 (1.000) : 1
4.000 , 4.000 (1.000) : 1
5.000 , 5.000 (1.000) : 1
6.000 , 6.000 (1.000) : 1
7.000 , 7.000 (1.000) : 1
8.000 , 8.000 (1.000) : 1
9.000 , 9.000 (1.000) : 1
10.000 , 10.000 (1.000) : 1
11.000 , 11.000 (1.000) : 1