2. Creating Output Linguistic Variables

You create output linguistic variables similarly to how you create input linguistic variables in the Fuzzy System Designer. Complete the following steps to create an output linguistic variable that corresponds to the Steering Angle φ output linguistic variable of the vehicle maneuvering example.

  1. Click the Add Output Variable button to the right of the Output variables list to display the Edit Variable dialog box.
  2. Enter steering-angle in the Name text box.
  3. Enter a minimum value of -30 and a maximum value of 30. This range specifies that the amount that the steering wheel can turn ranges from -30.0 to 30.0 degrees.
  4. Click the Add Membership Function button to create a new membership function for the steering-angle output variable.
  5. Enter neg-large in the Name text box.
  6. Select Triangle from the Shape pull-down menu to specify that a triangle function determines the degrees of membership for the linguistic variable.
  7. Select the color you want to use for the membership function in the Membership functions graph from the Color picker.
  8. Enter -30, -30, and -15 in the fields of the Points array. These points specify the values of the linguistic variable corresponding to the base and top points, in order from left to right and base to top, of the membership function.
  9. Repeat steps 4 through 8 to create each of the membership functions shown in the following graph.

  10. Click the OK button to save your changes.
  11. Select File�Save As to save the fuzzy system as vehicle_maneuvering.fs in an easily accessible location.
Previous
1. Creating Input Linguistic Variables
Home
Tutorial: Using the Fuzzy System Designer
Next
3. Creating a Rule Base with Pre-Generated Rules