MATLAB Answers


Fuzzy Logic 'Connection' function

Asked by Tommy
on 18 Mar 2014
Latest activity Commented on by 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.

1 Answer

Answer by Arkadiy Turevskiy on 27 Mar 2014
 Accepted Answer

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

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

Sign in to comment.