# Documentation

### This is machine translation

Translated by
Mouseover text to see original. Click the button below to return to the English verison of the page.

To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

# gbellmf

Generalized bell-shaped membership function

## Syntax

```y = gbellmf(x,params)
```

## Description

The generalized bell function depends on three parameters a, b, and c as given by

`$f\left(x;a,b,c\right)=\frac{1}{1+{|\frac{x-c}{a}|}^{2b}}$`

where the parameter b is usually positive. The parameter c locates the center of the curve. Enter the parameter vector `params`, the second argument for `gbellmf`, as the vector whose entries are a, b, and c, respectively.

## Examples

collapse all

```x = 0:0.1:10; y = gbellmf(x,[2 4 6]); plot(x,y) xlabel('gbellmf, P=[2 4 6]') ```

Get trial now