Mistake in Linear z-shaped membership funciton
10 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
There is a mistake in the description of Linear z-shaped membership function.
it should be:
(b-x)/(b-a) for a<=x<=b
otherwise you've got for a^- -> 1, for a^+ -> 0
1 comentario
Respuestas (1)
Sam Chak
el 30 de Ag. de 2024
Hi @Mateusz
You can navigate to "Contact Support" and, under "Product Usage," submit a suggestion to correct the information. The document writer was likely considering the mathematical aspects when preparing the documentation, which may have led to confusion with the correct piecewise equation.
x = linspace(-1, 1, 2001);
a = x(1);
b = x(end);
y = max(-1, min(1, -3*x)); % ideal saturation function with negative slope
mf = (a - y)./(a - b); % membership function
tl = tiledlayout(2, 1, 'TileSpacing', 'Compact');
nexttile
plot(x, y), grid on, ylabel('y'), ylim([-1.4, 1.4])
yline(0, 'r-.')
title('ideal saturation function with negative slope')
nexttile
plot(x, mf), grid on, ylabel('\mu'), ylim([-0.2, 1.2])
yline(0, 'r-.')
xlabel(tl, 'x')
title('NEG fuzzy set of ideal saturation function')
0 comentarios
Ver también
Categorías
Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!