How do I create a custom membership function using the Fuzzy Logic Toolbox?
14 views (last 30 days)
Show older comments
MathWorks Support Team
on 14 Sep 2012
Edited: MathWorks Support Team
on 22 Feb 2022
Membership functions need to follow a specific format in order to be compatible with the Fuzzy Logic Toolbox. Are there any guidelines available in the documentation that can be used for creating custom membership functions?
Accepted Answer
MathWorks Support Team
on 22 Feb 2022
Edited: MathWorks Support Team
on 22 Feb 2022
The following documentation page outlines the steps involved in creating custom membership functions in Fuzzy Logic Toolbox:
For additional examples, look at the membership functions shipped with the Fuzzy Logic Toolbox. These functions can be found in your $MATLABROOT\toolbox\fuzzy\fuzzy directory
(where $MATLABROOT is the output of the command matlabroot at the command line).
Note that the functions always end with the letters 'mf' (such as 'gaussmf.m', 'trimf.m' etc).
0 Comments
More Answers (0)
See Also
Categories
Find more on Fuzzy Inference System Modeling in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!