singletonmf: Singleton membership function

Description Usage Arguments Details Value Author(s) Examples

View source: R/FuzzyMF.R

Description

To specify a singleton membership function at the particular point

Usage

1
singletonmf(mf.params)

Arguments

mf.params

the particular singleton point

Details

This is not an external function. It should be used through genmf.

Value

The singleton membership function of x at the particular point, where x is a generic element of U, which is the universe of discourse of a fuzzy set X

Author(s)

Chao Chen

Examples

1
2
3
4
5
mf <- singletonmf(3)
# This is the same as:
mf <- genmf('singletonmf', 3)

evalmf(1:10, mf)

Example output

      [,1]
 [1,]    0
 [2,]    0
 [3,]    1
 [4,]    0
 [5,]    0
 [6,]    0
 [7,]    0
 [8,]    0
 [9,]    0
[10,]    0

FuzzyR documentation built on May 19, 2021, 9:06 a.m.

Related to singletonmf in FuzzyR...