Computes membership degrees in a set of membership functions MU = MDEGS(X, MFS) Computes membership degrees in a set of membership functions (MFs) Parameters: X - crisp number whose membership degree needs to be computed MFS - the set of MFs. Must contain the following fields: 'type' - the type of the MFs. 't', for connecting triangular (i.e., triangular MFs, and each point falls within exactly two MFs). 'n' - number of MFs 'c' - centers of MFs. A column vector of length MFS.n 'rollover' - if the interval rolls over from one end to the other, such as for angles in [0, 2pi]. If so, membership degrees will be exchanged between the two MFs at the ends of the interval. Returns: MU - a column vector of membership degrees