# sugfis

Sugeno fuzzy inference system

## Description

Use a `sugfis`

object to represent a type-1 Sugeno fuzzy
inference system (FIS).

As an alternative to a type-1 Sugeno system, you can create a:

Type-1 Mamdani system using a

`mamfis`

objectType-2 Sugeno system using a

`sugfistype2`

objectType-2 Mamdani system using a

`mamfistype2`

object

For more information on the different types of fuzzy inference systems, see Mamdani and Sugeno Fuzzy Inference Systems and Type-2 Fuzzy Inference Systems.

## Creation

To create a Sugeno FIS object, use one of the following methods:

The

`sugfis`

function.If you have input/output data, you can use the

`genfis`

function.If you have a FIS file (

`*.fis`

) for a Sugeno system, you can use the`readfis`

function.Convert an existing Mamdani FIS to a Sugeno FIS using

`convertToSugeno`

.

### Description

`fis = sugfis`

creates a Sugeno FIS with default property values.
To modify the properties of the fuzzy system, use dot notation.

`fis = sugfis(`

specifies FIS
configuration information or sets object properties using name-value pair arguments. You
can specify multiple name-value pairs. Enclose names in quotes.`Name,Value`

)

### Input Arguments

## Properties

## Object Functions

`addInput` | Add input variable to fuzzy inference system |

`removeInput` | Remove input variable from fuzzy inference system |

`addOutput` | Add output variable to fuzzy inference system |

`removeOutput` | Remove output variable from fuzzy inference system |

`addRule` | Add rule to fuzzy inference system |

`addMF` | Add membership function to fuzzy variable |

`removeMF` | Remove membership function from fuzzy variable |

`evalfis` | Evaluate fuzzy inference system |

`writeFIS` | Save fuzzy inference system to file |

`convertToType2` | Convert type-1 fuzzy inference system into type-2 fuzzy inference system |

## Examples

## Alternative Functionality

### App

You can interactively create a Sugeno FIS using the **Fuzzy Logic
Designer** or **Neuro-Fuzzy Designer** apps. You can then export the system
to the MATLAB workspace.

## Version History

**Introduced in R2018b**