网站首页 > 资源文章 正文
在使用TOPSIS法进行综合评价时,需要先将原始矩阵正向化,也就是要将所有的指标类型统一转化为极大型指标。常见的指标类型除了极大型指标外,还有极小型指标、中间型指标、和区间型指标,一起来看看怎么将这些指标转化为极大型指标吧!
When TOPSIS method is used for comprehensive evaluation, the original matrix needs to be forward first, that is, all index types should be uniformly transformed into extremely large indexes. Common types of indicators in addition to very large indicators, there are very small indicators, intermediate indicators, and interval type indicators, let's see how to transform these indicators into very large indicators!
01极小型指标转换为极大型指标
例子:
For example:
代码实现:
Code implementation:
知识补充:
function为M文件的语句引导,其格式为:
Knowledge Supplement:
Function is a statement bootstrap for an M file with the format:
function[y1,y2,...]=fun(x1,x2,...)
fun为用户自定义的函数名,需要注意的是不能与MATLAB的库函数相同
且两个文件的保存目录要一致
定义函数:
Fun is a user-defined function name, but it is important to note that it cannot be the same as the MATLAB library function
And the two files should be saved in the same directory
Define the function:
调用fun函数:
Call the fun function:
执行结果:
Execution Result:
02中间型指标转换为极大型指标
中间型指标:指标值既不要太大也不要太小,取某特定值最好。
Intermediate: The index value is neither too large nor too small. A particular value is best.
那么正向化的公式如下:
Then the forward equation is as follows:
例子:水质量评估的PH值
For example: pH value for water quality assessment
化简后的结果尽量在0~1之间,并且越靠近于最优值越接近于1.
代码实现:
The simplified result should be between 0 and 1, and the closer it is to the optimal value, the closer it is to 1.
Code implementation:
03区间型指标转换为极大型指标
区间型指标:指标落在某个区间内最好
Interval type indicators: indicators fall in a certain interval is the best
那么正向化的公式如下:
Then the forward equation is as follows:
例子:人的体温(36°~37°最好)。
For example: Human body temperature (36°~37° is best).
代码实现:
Code implementation:
参考资料:CSDN、谷歌翻译
本文由LearningYard学苑原创,如有侵权请联系删除
猜你喜欢
- 2024-11-20 毕达哥拉斯犹豫模集的多种距离测度方法
- 2024-11-20 目次 |《农业工程学报》2023年10月第19期
- 2024-11-20 矩阵的标准化以及归一化
- 2024-11-20 安玲学记(177)——精读期刊论文1.引言
- 2024-11-20 数字化转型赋能:行业智能应用场景构建与升级,让数据更懂业务
- 2024-11-20 自动驾驶芯片性能评价指标:DMIPS,TOPS
- 2024-11-20 南极冰层下的生物秘密基地
- 2024-11-20 英国时尚泳装品牌Neena Swim Bikini-Tops系列 高清图片画廊
- 2024-11-20 西北农林科技大学朱德兰教授等:网式过滤器水头损失动态变化规律
- 2024-11-20 线损计算技术,混合指标的台区线损处理方法及系统
你 发表评论:
欢迎- 最近发表
- 标签列表
-
- 电脑显示器花屏 (79)
- 403 forbidden (65)
- linux怎么查看系统版本 (54)
- 补码运算 (63)
- 缓存服务器 (61)
- 定时重启 (59)
- plsql developer (73)
- 对话框打开时命令无法执行 (61)
- excel数据透视表 (72)
- oracle认证 (56)
- 网页不能复制 (84)
- photoshop外挂滤镜 (58)
- 网页无法复制粘贴 (55)
- vmware workstation 7 1 3 (78)
- jdk 64位下载 (65)
- phpstudy 2013 (66)
- 卡通形象生成 (55)
- psd模板免费下载 (67)
- shift (58)
- localhost打不开 (58)
- 检测代理服务器设置 (55)
- frequency (66)
- indesign教程 (55)
- 运行命令大全 (61)
- ping exe (64)
本文暂时没有评论,来添加一个吧(●'◡'●)