문제

I have used the trapezoidal membership function through matlab as shown here.

I have written the following in matlab:

>> x=1:5;
>> y=trapmf(x,[1 3 4 5]);

And, for y, I got the following results:

>> y

y =

         0    0.5000    1.0000    1.0000         0

My questions are as follows:

How do we read the vector y shown above? Does it show the degrees of memberships for the elements in the set x?

For example, can we say the following?

  • The degree of membership of 1 in the set x is 0
  • The degree of membership of 2 in the set x is 0.5000 . . .etc

Thanks.

도움이 되었습니까?

해결책

Yes.. you are rite... That is how u read y..
I can't give any references for this but you can generally look at these wiki articles about fuzzy sets...

http://en.wikipedia.org/wiki/Membership_function_(mathematics) http://en.wikipedia.org/wiki/Fuzzy_set

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top