With MATLAB, if you have a normally distributed set of data, you may use the 'fitdist' command to fit a probability distribution object to the data. Then, the 'normfit' command can be used to estimate the normal distribution parameters (the mean and standard deviation). Having these parameters, you can transform the probability distributions into Gaussian membership functions.
There are many software tools that you can use to do fuzzy modeling. However, the boundaries of the membership functions should be created by a decision maker. I have used questionnaires combined with fuzzy accuracy assessment to define the values of the membership functions. Please see the article: Zhang Z., Demsar U., Rantala J., and Virrantaus K., 2014. A fuzzy multiple- attribute decision making modelling for vulnerability analysis on the basis of population information for disaster management. International Journal of Geographical Information Science, 28(9), 1922-1939.
There are several you tube tutorials, wherein teachers have explained step wise procedure for making membership functions using ' if' and 'then' logical functions.
a membership function for a fuzzy set A on the universe of discourse X is defined as µA:X → [0,1], where each element of X is mapped to a value between 0 and 1. This value, called membership value or degree ofmembership, quantifies the grade of membership of the element in X to the fuzzy set A.
Please consult you tube tutorials, wherein teachers have explained step wise procedure for making membership functions using ' if' and 'then' logical functions. You can apply the same in your case accordingly