Fuzzy Inference System Modeling
Build fuzzy inference systems and fuzzy trees
Fuzzy inference is the process of formulating input/output mappings using fuzzy logic. Fuzzy Logic Toolbox™ software provides tools for creating:
- Type-1 or interval type-2 Mamdani fuzzy inference systems 
- Type-1 or interval type-2 Sugeno fuzzy inference systems 
- Trees of interconnected fuzzy inference systems 
For more information on fuzzy logic, see What Is Fuzzy Logic? For more information on fuzzy inference, see Fuzzy Inference Process.
Apps
| Fuzzy Logic Designer | Design, test, and tune fuzzy inference systems | 
Functions
Topics
Fuzzy Logic Basics
- What Is Fuzzy Logic?
 Fuzzy logic uses linguistic variables, defined as fuzzy sets, to approximate human reasoning.
- Foundations of Fuzzy Logic
 A fuzzy logic system is a collection of fuzzy if-then rules that perform logical operations on fuzzy sets.
- Fuzzy Inference Process
 Fuzzy inference maps an input space to an output space using a series of fuzzy if-then rules.
Fuzzy Inference Systems
- Mamdani and Sugeno Fuzzy Inference Systems
 You can implement either Mamdani or Sugeno fuzzy inference systems using Fuzzy Logic Toolbox software.
- Type-2 Fuzzy Inference Systems
 You can create and evaluate interval type-2 fuzzy inference systems with additional membership function uncertainty.
- FIS Trees
 You can implement a complex fuzzy system as a collection of smaller interconnected fuzzy inference systems.
Build Fuzzy Inference Systems
- Build Fuzzy Systems Using Fuzzy Logic Designer
 Interactively construct a fuzzy inference system using the Fuzzy Logic Designer app. (Since R2022b) 
- Build FIS Tree Using Fuzzy Logic Designer
 Interactively construct a tree of interconnected fuzzy inference systems using the Fuzzy Logic Designer app. (Since R2023b)
- Build Fuzzy Systems at the Command Line
 Construct a fuzzy inference system at the MATLAB® command line.
- Build Fuzzy Systems Using Custom Functions
 You can replace the built-in membership functions and fuzzy inference functions with your own custom functions.
- Generate MATLAB Code for Building Fuzzy Systems
 Once you interactively build a fuzzy system using Fuzzy Logic Designer, you can generate MATLAB code to programmatically build that system. (Since R2024a)
- Generate MATLAB Code for Simulating Fuzzy Systems
 Once you interactively build a fuzzy system using Fuzzy Logic Designer, you can generate MATLAB code to programmatically simulate that system. (Since R2024b)


