필터 지우기
필터 지우기

Mistake in Linear z-shaped membership funciton

조회 수: 10 (최근 30일)
Mateusz
Mateusz 2024년 8월 29일
편집: Sahas 2024년 8월 30일
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
Sahas
Sahas 2024년 8월 30일
편집: Sahas 2024년 8월 30일
I downloaded the pre-release version of MATLAB R2024b and checked the documentation. It appears that MathWorks has already resolved this issue.

댓글을 달려면 로그인하십시오.

답변 (1개)

Sam Chak
Sam Chak 2024년 8월 30일
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')

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by