在Octave上使用模糊逻辑工具箱 [英] Using fuzzy logic toolbox on Octave

查看:200
本文介绍了在Octave上使用模糊逻辑工具箱的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了Octave和模糊逻辑工具包,以与Fuzzy Inference Systems一起使用.

I've install Octave and the fuzzy logic toolkit to work with Fuzzy Inference Systems.

pkg install fuzzy-logic-toolkit-0.4.5.tar.gz
    For information about changes from previous versions of the fuzzy-logic-toolkit package, run 'news fuzzy-logic-toolkit'.
>> pkg list
Package Name         | Version | Installation directory
---------------------+---------+-----------------------
fuzzy-logic-toolkit  |   0.4.5 | /home/bgarcial/octave/fuzzy-logic-toolkit-0.4.5

但是...如何使用该工具包?

But ... How to can I use the toolkit?

我键入pkg load fuzzy-logic-toolkit并且命令被接受

>> pkg load fuzzy-logic-toolkit

>>

在这一点上,我可以测试一些示例和功能,例如

In this point I can test some samples and functions like in this link

>> demo('sigmf')
sigmf example 1:
 x = 0:100;
 params = [0.3 40];
 y1 = sigmf(x, params);
 params = [0.2 40];
 y2 = sigmf(x, params);
 params = [0.1 40];
 y3 = sigmf(x, params);
 figure('NumberTitle', 'off', 'Name', 'sigmf demo');
 plot(x, y1, 'r;params = [0.3 40];', 'LineWidth', 2)
 hold on;
 plot(x, y2, 'b;params = [0.2 40];', 'LineWidth', 2)
 hold on;
 plot(x, y3, 'g;params = [0.1 40];', 'LineWidth', 2)
 ylim([-0.1 1.2]);
 xlabel('Crisp Input Value', 'FontWeight', 'bold');
 ylabel('Degree of Membership', 'FontWeight', 'bold');
 grid;

>>

我可以看到此图

我的问题是

有一些使用方式fuzzy-logic-toolbox,我可以在其中输入话语世界中的输入,输出,语言类别和范围,例如Matlab中的fuzzy工具箱?

There is some way of use fuzzy-logic-toolbox in which I can enter the inputs, outputs, linguistic categories and ranges in the discourse universe, like fuzzy toolbox in Matlab?

推荐答案

如果我正确地解释了您的问题,似乎您希望能够像在Matlab模糊逻辑工具箱中一样打开图形用户界面. Matlab文档这里.

If I am interpreting your question correctly, it seems you are expecting to be able to open a graphical user interface just like you would in the Matlab Fuzzy Logic toolbox. Something like what is shown in the Matlab documentation here.

用于Octave模糊逻辑工具包的功能列表,该软件包似乎没有包含图形界面.但是,Matlab GUI确实仅调用基础工具箱函数.如果要使用Octave进行此任务,则需要使用命令行或脚本中的各个功能.

From the function list for Octave's fuzzy logic toolkit package, it does not appear that the package includes a graphical interface. The Matlab GUI does just call underlying toolbox functions, however. If you want to use Octave for this task, you will need to use the individual functions from the command line or a script.

这篇关于在Octave上使用模糊逻辑工具箱的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆