%% Create Type-2 Membership Function with Specified Upper MF Parameters
% Create a trapezoidal type-2 membership function with specified upper MF parameters.

mf = fismftype2("trapmf",[3 4 6 7])

% By default, the lower membership function has a maximum value of 1 and starts increasing when the upper MF is 0.2.
% Copyright 2019 The MathWorks, Inc.