gaussbMF: Create a gaussian bell membership function.
Description
Creates two Gaussian Bell curves with different parameters and merges them.
Usage
gaussbMF(mfName, x, mfParams)
Arguments
mfName
A string representing the name of the membership function.
x
The range of the membership function as a vector, such as 1:10.
mfParams
The input parameters of the membership function. This should be a vector of 5 numbers
representing the left sigma, left mean, right sigma, right mean, and height.
Value
mfNameThe name of the membership function (String)
mfXA numeric vector representing the range of the variable.
mfParamsA numeric vector representing the given input parameters upon creation. These should be the left sigma, left mean, right sigma, right mean and height.
mfValsThe evaluated values for the membership function.
Details
To access the values:
$mfParams for the stored parameters.
$mfX for the stored range.
$mfName for the stored name.
$mfVals for the stored evaluated values.
Where is the assigned name of the membership function in the environment.