找回密码
 注册
关于网站域名变更的通知
查看: 496|回复: 4
打印 上一主题 下一主题

rulelist问题

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2020-9-1 10:52 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

EDA365欢迎您登录!

您需要 登录 才可以下载或查看,没有帐号?注册

x
rulelist这个在help里怎么没有?下面这个矩阵是建立控制规则表吧,求解释一下!% G- c  F3 N2 |" t; M
rulelist=[7 7 7 1 1;
7 ~- Z  c) @5 g7 n4 o7 Z) g+ ^                  6 7 7 1 1;$ t4 _; |2 Z: `, T% {
                  5 7 7 1 1;
7 v) P- @# _. V) F% `                  4 7 6 1 1;
5 {  N" s& N) O0 o( l$ u- e                  3 7 5 1 1;. W' P8 y$ {6 l! M. v+ ~, t  L
。。。。。。。]
; i% L0 D7 u, T, Z

该用户从未签到

2#
发表于 2020-9-1 11:11 | 只看该作者
帮你顶一下

该用户从未签到

3#
发表于 2020-9-3 10:36 | 只看该作者
此为规则列表,此表能够唯一性地定义模糊系统的规则:
( d5 v7 P* w, b% Q# U; M/ W. W例如:) H: e/ }* B  I0 U
ruleList=[' C2 H/ \3 s3 d
        1 1 1 1 1
% B9 {7 X) y, E1 x8 t) u" b        1 2 2 1 1];+ y/ L  q! a' e
a = addrule(a,ruleList);
. o+ R1 l- D; a5 h, I: @5 R3 z说明系统具有两个输入一个输出:
* d1 z2 C1 a# x7 k2 }# l% t2 E2 N"If Input 1 is MF 1 AND Input 2 is MF 1, then Output 1 is MF 1."   此规则的权重weight=1: @2 K$ g9 N: R
"If Input 1 is MF 1 AND Input 2 is MF 2, then Output 1 is MF 2."   此规则的权重weight=1
, ~% x/ `2 t" h& h* ~8 L/ Z补充说明:. A9 h- \- r2 m7 E& I9 [
The first m columns refer to the inputs of the system. Each column contains a number that refers to the index of the membership function for that variable.
3 v! U: r7 {% \# e# o1 t. N; q8 QThe next n columns refer to the outputs of the system. Each column contains a number that refers to the index of the membership function for that variable.
: d* g( l, ~# j7 P5 a; ^3 LThe m + n + 1 column contains the weight that is to be applied to the rule. The weight must be a number between zero and one and is generally left as one.
2 l! H8 O' Y8 f: L- G/ i. Y1 ZThe m + n + 2 column contains a 1 if the fuzzy operator for the rule's antecedent is AND. It contains a 2 if the fuzzy operator is OR.

该用户从未签到

4#
发表于 2020-9-3 10:43 | 只看该作者
来学习一下,二楼分析的很详细

该用户从未签到

5#
发表于 2020-9-3 15:03 | 只看该作者
就是规则表用矩阵表示出来了,但总是最后多一位,基本后两位是“1 1”,即权重和?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

推荐内容上一条 /1 下一条

EDA365公众号

关于我们|手机版|EDA365电子论坛网 ( 粤ICP备18020198号-1 )

GMT+8, 2025-11-4 05:10 , Processed in 0.140625 second(s), 24 queries , Gzip On.

深圳市墨知创新科技有限公司

地址:深圳市南山区科技生态园2栋A座805 电话:19926409050

快速回复 返回顶部 返回列表