genmf {FuzzyR}R Documentation

Fuzzy membership function generator

Description

To generate the corresponding membership function f(x), also called fuzzy set, according to type and parameters

Usage

genmf(mf.type, mf.params)

Arguments

mf.type

The membership function type

mf.params

The parameters for a membership function

Details

Built-in membership function types are: 'gbellmf', 'it2gbellmf', 'singletonmf', 'linearmf', 'gaussmf', 'trapmf', 'trimf'.

mf.params for

Note that users are able to define their own membership functions.

Value

The desired type of membership function f(x), where x is a generic element of U, which is the universe of discourse for a fuzzy set

Author(s)

Chao Chen

Examples

mf <- genmf('gbellmf', c(1,2,3))
evalmf(1:10, mf)

[Package FuzzyR version 2.3.2 Index]