How to implement fuzzy inferrence rule by using matlab?????

I want to implement fuzzy inferrence rule by using matlab.... and show the graph------------- suppose this type of problem---------- 1. IF cart is on the left AND cart is going left THEN largely push cart to the right 2. IF cart is on the left AND cart is not moving THEN slightly push cart to the right 3. IF cart is on the left AND cart is going right THEN don’t push cart 4. IF cart is centered AND cart is going left THEN slightly push cart to the right 5. IF cart is centered AND cart is not moving THEN don’t push cart 6. IF cart is centered AND cart is going right THEN slightly push cart to the left 7. IF cart is on the right AND cart is going left THEN don’t push cart 8. IF cart is on the right AND cart is not moving THEN push cart to the left 9. IF cart is on the right AND cart is going right THEN largely push cart to the left

 Accepted Answer

You can use Fuzzy Logic Toolbox for that. Product page has links to example, and documentation - that should help you get started.

More Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!