102
“In the name of God, the most merciful” A Tutorial on Soft Computing Toolboxes in MATLAB Alireza Rowhanimanesh PhD in Electrical Engineering (Control) {[email protected]}

A Tutorial on Soft Computing Toolboxes in MATLABrowhanimanesh.neyshabur.ac.ir/electrical/rowhanimanesh/images/... · “In the name of God, the most merciful” A Tutorial on Soft

  • Upload
    buianh

  • View
    215

  • Download
    0

Embed Size (px)

Citation preview

“In the name of God, the most merciful”

A Tutorial on

Soft Computing Toolboxes in MATLAB

Alireza Rowhanimanesh

PhD in Electrical Engineering (Control)

{[email protected]}

P r o g r a m m i n g o r

T o o l b o x ?

2

3

MATLAB

The Language of Technical Computing

Fuzzy Logic Toolbox

5

Human KnowledgeNatural Language

Machine KnowledgeComputational Language

Fuzzy Theory

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

ANFIS Toolbox

34

35

36

37

38

39

40

41

42

43Root Mean Square Error (RMSE)

44

45

46

47

48

49

50

51

Neural Network Toolbox

Training Dataset

53

Training Dataset

54

55

56

Please type nntool in the Command Line and press Enter.

57

58

59

60

61

62

63

64

65

66

67

68

69

70

71

72

73

74

75

76

Testing a Trained NN

77

Network Weights and Bias

78

Export NN to Workspace

79

80

y_nn = sim(network1,x_test);

plot(x_test,y_test,'r',x_test,y_nn,'b')

Testing a Trained NN from the Command Line

81

82

Genetic Algorithms Toolbox

Fitness Function

84

Global Minimum

85

86

Fitness Function

87

88

89

90

91

92

93

94

95

96

97

98

99

100

101

Any Questions?

102