当前位置:网站首页>Coefficient of variation method matlab code [easy to understand]
Coefficient of variation method matlab code [easy to understand]
2022-06-30 21:13:00 【Full stack programmer webmaster】
Hello everyone , I meet you again , I'm your friend, Quan Jun .
function [ w,ave,score] = byxsf( A )
[m,n]=size(A);%m: Number of objects ,n: Number of indicators
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(' The weight of :')
w
score=w(1)*A(:,1)+w(2)*A(:,2);% This part should be modified according to the actual situation
disp(' Average score :')
ave=mean(score)
endPublisher : Full stack programmer stack length , Reprint please indicate the source :https://javaforall.cn/131981.html Link to the original text :https://javaforall.cn
边栏推荐
- ICML2022 | 序列决策的效用理论
- uniapp-第三方网络请求
- Understanding polymorphism
- Et la dégradation du modèle de génération de texte? Simctg vous donne la réponse
- 文本生成模型退化怎么办?SimCTG 告诉你答案
- Upgrade Kube with unknown flag: --network plugin
- Metauniverse may become a new direction of Internet development
- 有趣网站汇总
- Study on PEGylation of lumiprobe and PEG linker - iodine-peg3-acid
- Adobe-Photoshop(PS)-脚本开发-去除文件臃肿脚本
猜你喜欢
随机推荐
MySQL简介、详细安装步骤及使用 | 黑马程序员
asp. Net core JWT delivery
物联网僵尸网络Gafgyt家族与物联网设备后门漏洞利用
Icml2022 | utility theory of sequential decision making
Open source internship experience sharing: openeuler software package reinforcement test
mysql-批量更新
FreeRTOS记录(九、一个裸机工程转FreeRTOS的实例)
Qiao NPMS: search for NPM packages
文本生成模型退化怎么办?SimCTG 告诉你答案
注册设备监理师难考吗,和监理工程师有什么关系?
uniapp-富文本编辑器
The 16th Heilongjiang Provincial Collegiate Programming Contest
Peking University ACM problems 1003:hangover
centos——开启/关闭oracle
Gartner聚焦中国低代码发展 UniPro如何践行“差异化”
有趣网站汇总
uniapp-路由uni-simple-router
ca i啊几次哦啊句iu家哦11111
对多态的理解
vncserver: Failed command ‘/etc/X11/Xvnc-session‘: 256!









