当前位置:网站首页>变异系数法matlab代码[通俗易懂]
变异系数法matlab代码[通俗易懂]
2022-06-30 20:40:00 【全栈程序员站长】
大家好,又见面了,我是你们的朋友全栈君。
function [ w,ave,score] = byxsf( A )
[m,n]=size(A);%m:对象数,n:指标数
v=zeros(1,n);
w=zeros(1,n);
for i=1:n
v(i)=std(A(:,i))/mean(A(:,i));
end
for i=1:n
w(i)=v(i)/sum(v);
end
disp('权重为:')
w
score=w(1)*A(:,1)+w(2)*A(:,2);%这部分要根据实际情况修改
disp('得分平均值:')
ave=mean(score)
end发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/131981.html原文链接:https://javaforall.cn
边栏推荐
- Analysis of breakpoint continuation and download principle
- unittest自动测试多个用例时,logging模块重复打印解决
- qiao-npms:搜索npm包
- Lvalue reference and lvalue reference
- Peking University ACM problems 1001:exposition
- 软工UML画图
- 股票开户优惠链接,我如何才能得到?另外,手机开户安全么?
- Scene 299
- Peking University ACM problems 1000:a+b problem
- 【微服务~Nacos】Nacos之配置中心
猜你喜欢

Basic concepts of tree

在线教育项目用户登录和注册

Lumiprobe dye hydrazide - BDP FL hydrazide solution

Based on the open source stream batch integrated data synchronization engine Chunjun data restore DDL parsing module actual combat sharing

1.微信小程序页面跳转方法总结;2. navigateTo堆栈到十层不跳转问题

浅谈代码语言的魅力

Lumiprobe nucleic acid quantitative qudye dsDNA br detection kit

Lumiprobe biotin phosphimide (hydroxyproline) instructions
![[1175. prime number arrangement]](/img/f2/d427db03da151786ea1dfb7a76328a.png)
[1175. prime number arrangement]

毕业设计
随机推荐
obsidian配合hugo的使用,让markdown本地编辑软件与在线化无缝衔接
有趣网站汇总
北京大学ACM Problems 1002:487-3279
Playwright - scroll bar operation
Is it safe to open an account for online stock trading!?
On inline function
Testing principle and precautions of biovendor rage ELISA Kit
Lvalue reference and lvalue reference
Encoding type of Perl conversion file
微信小程序怎么实现圆心进度条
Golang应用 ━━ 安装、配置与使用hugo博客系统
Halcon knowledge: check the measurement objects [1]
Lumiprobe无铜点击化学解决方案
RP原型资源分享-购物类App
Lumiprobe nucleic acid quantitative qudye dsDNA br detection kit
Basic components of STL
Lumiprobe dye hydrazide - BDP FL hydrazide solution
Peking University ACM problems 1006:biorhythms
MFC界面库BCGControlBar v33.0 - 桌面警报窗口、网格控件升级等
1. Introduction to generating countermeasures network