Fuzzy membership functions

I am working on a project that requires fuzzification. There are various categories of variables, and each category has between 2 and 5 elements (or sub-categories). Now I want to assign fuzzy membership proportions to these elements. I want to know how to achieve this
 
Top