How to identify the parameters of each membership function in a fuzzy logic system
5 views (last 30 days)
Show older comments
I have a problem with the fuzzy toolbox , i don't know how to identify Params for each memebership fuction . The identification is based on what exactly ..?? How are the values in the vector are chosen ?? Please i really need your help
0 Comments
Answers (1)
Sam Chak
on 23 Apr 2025
Hi @Sebti Rihab
You can identify the parameters of each membership function (MF) in a designed fuzzy system using this simple script. Each parameter in a MF serves as a placeholder for a value that will be passed into the function when it is called. Taking the first input (Service) of the Fuzzy Tipper as an example, it consists of three Gaussian MFs. For Gaussian MFs, the first parameter is the standard deviation, and the second parameter is the center (mean).
The values for these MF parameters are generally determined by a qualified fuzzy logic expert. For designers who do not have a natural aptitude for mathematics, the genfis() function can be employed to automatically generate the desired MFs for the fuzzy system, provided that the appropriate input–output data is available.
fis = readfis("tipper");
figure
plotfis(fis)
fis.Inputs(1).MembershipFunctions
fis.Inputs(2).MembershipFunctions
fis.Outputs(1).MembershipFunctions
0 Comments
See Also
Categories
Find more on Fuzzy Logic Toolbox 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!