Main Content

Generalized Bell MF

Generalized bell membership function

  • Generalized Bell MF block

Libraries:
Fuzzy Logic Toolbox / Membership Functions

Description

The Generalized Bell MF block implements a membership function based on a generalized bell-shaped function.

f(x;a,b,c)=11+|xca|2b

Here, a and b control the width of the function and c controls the center of the function.

Ports

Input

expand all

Input value for which to compute membership values, specified as a scalar or vector.

Output

expand all

Membership value, returned as a scalar or a vector. The dimensions of MF match the dimensions of x. Each element of MF is the membership value computed for the corresponding element of x.

Parameters

expand all

Parameter that, together with b, defines the shape of the membership function.

Programmatic Use

Block Parameter: a
Type: string, character vector
Default: "5"

Parameter that, together with a, defines the shape of the membership function.

Programmatic Use

Block Parameter: b
Type: string, character vector
Default: "4"

Function center point.

Programmatic Use

Block Parameter: c
Type: string, character vector
Default: "0"

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

PLC Code Generation
Generate Structured Text code using Simulink® PLC Coder™.

Version History

Introduced before R2006a