getTunableValues
Obtain values of tunable parameters from fuzzy inference system
Description
Examples
Obtain Values of Tunable Parameters from FIS
Create a fuzzy inference system, and define the tunable parameter settings of inputs, outputs, and rules.
fis = mamfis('NumInputs',2,'NumOutputs',1); [in,out,rule] = getTunableSettings(fis);
Obtain tunable parameter values of the inputs, outputs, and rules of the fuzzy inference system.
paramVals = getTunableValues(fis,[in;out;rule]);
Input Arguments
fis
— Fuzzy inference system
mamfis
object | sugfis
object | mamfistype2
object | sugfistype2
object | fistree
object
Fuzzy inference system, specified as one of the following:
mamfis
object — Mamdani fuzzy inference systemsugfis
object — Sugeno fuzzy inference systemmamfistype2
object — Type-2 Mamdani fuzzy inference systemsugfistype2
object — Type-2 Sugeno fuzzy inference systemfistree
object — Tree of interconnected fuzzy inference systems
Fuzzy inference system, specified as a mamfis
,
sugfis
,
mamfistype2
,
sugfistype2
, or
fistree
object.
paramset
— Tunable parameter settings
array
Tunable parameter settings, specified as an array of input, output, and rule
parameter settings in the input FIS. To obtain these parameter settings, use the
getTunableSettings
function
with the input fis
.
paramset
can be the input, output, or rule parameter settings, or
any combination of these settings.
Output Arguments
paramvals
— Tunable parameter values
array
Tunable parameter values, returned as an array. The order of the values in
paramvals
matches the order of the parameters in
paramset
.
You can modify these parameter values, and then set them in your FIS using setTunableValues
.
Version History
Introduced in R2019a
See Also
mamfis
| sugfis
| mamfistype2
| sugfistype2
| getTunableSettings
| tunefis
| setTunableValues
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)