Script File: heart_disease_demo_1

Demonstrate the use of newfis, addvar, addmf, addrule, and evalfis to build and evaluate an FIS. Also demonstrate the use of the algebraic product and sum as the T-norm/S-norm pair, and demonstrate the use of hedges in the FIS rules.

The demo:

  • - builds an FIS
  • - plots the input membership functions
  • - plots the constant output functions
  • - displays the FIS rules in verbose format in the Octave window
  • - plots the FIS output as a function of the inputs

See also: cubic_approx_demo, heart_disease_demo_2, investment_portfolio_demo, linear_tip_demo, mamdani_tip_demo, sugeno_tip_demo.

Package: fuzzy-logic-toolkit