matlab里的模糊工具箱绘制隶属度函数曲线导入到word的方法
合集下载
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
matlab里的模糊工具箱绘制隶属度函数曲线导入到word的方法
在fuzzy logic toolbox里有fuzzy membership function可以编辑隶属度函数,非常方便,但是我们写论文一般要把相应的曲线导入到word里,怎样将隶属度函数曲线导入到word里呢?本人也苦苦的寻找了好久。
方法如下:
先看看matlab帮助怎么说的:
plotmf
Plot all of the membership functions for a given variable
Syntax
plotmf(fismat,varType,varIndex)
Description
This function plots all of the membership functions in the FIS called fismat associated with a given variable whose type and index are respectively given b y (varType 'input'or 'o u tpu t'), and varIndex. This function can also be used with the MATLAB function, subplot.
Examples
a = readfis('t ipper');
plotmf(a,'inpu t',1)
看明白了吧?
原来强大的matlab给我们提供了这个函数给我们用,plotmf(模糊名,‘输入还是输出’,第几个输入或输出)。
就可以画出来图像,然后和平时的方法一样再进行edit》copy figure就可以了。