Fuzzy Logic 'Connection' function

Hi
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
Tommy

 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

Thank you very much for your answer, I understand now. Thanks
Tommy

Sign in to comment.

More Answers (0)

Categories

Asked:

on 18 Mar 2014

Commented:

on 28 Mar 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!