MATLAB Answers

Fuzzy Logic 'Connection' function

7 views (last 30 days)
Tommy on 18 Mar 2014
Commented: Tommy on 28 Mar 2014
I have a question regarding to this website I visited.
I want to learn to build a fuzzy logic controller from scratch, but I encountered a problem.
I clicked on the section of 'Building a system from scratch', and my question is what are the functions which are named 'connection' and 'weight'? What do they mean?
I understand the rest of the code but do not understand what these two functions are for. Could somebody help me please.
Thanks very much


Sign in to comment.

Accepted Answer

Arkadiy Turevskiy
Arkadiy Turevskiy on 27 Mar 2014
The m + n + 1 column contains the weight that is to be applied to the rule. The weight must be a number between zero and one and is generally left as one.
To understand how weights are used, see here and search for "weight".
The m + n + 2 column contains a 1 if the fuzzy operator for the rule's antecedent is AND. It contains a 2 if the fuzzy operator is OR. (so that's the connection).

  1 Comment

Tommy on 28 Mar 2014
Thank you very much for your answer, I understand now. Thanks

Sign in to comment.

More Answers (0)

Translated by