当前位置:网站首页>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
边栏推荐
猜你喜欢

Software engineering UML drawing

Lumiprobe dye hydrazide - BDP FL hydrazide solution

《大厂面试》之JVM篇21问与答

Lumiprobe protein quantitation - qudye Protein Quantitation Kit

B_QuRT_User_Guide(33)

Four Misunderstandings of Internet Marketing

申请Vector 总线协议彩图壁纸挂画,非常棒哦!

stacking集成模型预测回归问题

Testing principle and precautions of biovendor rage ELISA Kit

Study on lumiprobe dye NHS ester BDP FL NHS ester
随机推荐
Apply for vector bus protocol color picture wallpaper hanging picture, very good!
在线教育项目用户登录和注册
Lumiprobe copper free click chemical solution
sdfsdf
【数字IC应届生职业规划】Chap.1 IC行业产业链概述及代表企业大厂汇总
MySQL introduction, detailed installation steps and usage | dark horse programmer
centos——开启/关闭oracle
我想知道股票开户要认识谁?另外,手机开户安全么?
Binary search tree (1) - concept and C language implementation
uniapp-生命周期/路由跳转
双立体柱状图/双y轴
Two skylines
多态在代码中的体现
A small step in code change and a big leap in thinking
On the charm of code language
1.微信小程序页面跳转方法总结;2. navigateTo堆栈到十层不跳转问题
Fletter nested hell? No, constraintlayout to save!
k个一组反转链表
ICML2022 | 序列决策的效用理论
软工UML画图