当前位置: 首页 > news >正文

工会网站建设管理工作总结店面设计分析

工会网站建设管理工作总结,店面设计分析,手机网站开发哪个好,wordpress固定连接404【MATLAB第67期】# 源码分享 | 基于MATLAB的morris全局敏感性分析 一、代码展示 clear all npoint100;%在分位数超空间中要采样的点数(计算次数iternpoint*(nfac1) nfac20;%研究函数的不确定因素数量 [mu, order] morris_sa1((x)test_function(x), nfac, npoint)for t1:size…

【MATLAB第67期】# 源码分享 | 基于MATLAB的morris全局敏感性分析

一、代码展示

clear all
npoint=100;%在分位数超空间中要采样的点数(计算次数iter=npoint*(nfac+1)
nfac=20;%研究函数的不确定因素数量
[mu, order] = morris_sa1(@(x)test_function(x), nfac, npoint)for t=1:size(mu,2)
W(1,t)=mu(1,t)/sum(mu);
end
figure()
bar(W)
grid on
xlabel('Feature index')
ylabel('Feature weight')%输出
%1)μ:
%每个因素,按降序排列。
%2)order:各因素的指标。考虑修正最后的因素,
%那些“mu”非常接近于零的数。function [ mu, order ] = morris_sa1( studied_function, nfac, npoint )%
%输出
%1)μ:
%每个因素,按降序排列。
%2)顺序:各因素的指标。考虑修正最后的因素,
%那些“mu”非常接近于零的人。
delta=1/npoint;
mini=delta/2;
maxi=mini+delta*(npoint-1);coord = 0:npoint-1;
for i=1:nfacpoints(1:npoint,i) = coord(randperm(length(coord)));
end
points = points/(npoint-1)*(maxi-mini)+mini;for i=1:npointtable_outputs(i,1) = studied_function(points(i,:)); % Output at the sampled point.for j=1:nfacif points(i,j) < 0.5 % If the coordinate is smaller than 0.5, a positive variation is appliedtable_outputs(i,1+j) = studied_function([points(i,1:j-1) points(i,j)+0.5 points(i,j+1:nfac)]); % Output after the variation of the j-th factor.table_ee(i,j) = (table_outputs(i,1+j)-table_outputs(i,1))/0.5; % Elementary effect of the j-th factor.else % If the coordinate if larger than 0.5, a negative variation is appliedtable_outputs(i,1+j) = studied_function([points(i,1:j-1) points(i,j)-0.5 points(i,j+1:nfac)]);table_ee(i,j) = (table_outputs(i,1+j)-table_outputs(i,1))/(-0.5);endend
end% Estimation of the factors influence with the average of the absolute
% values of the elementary effects
for j=1:nfacmu_temp(j) = mean(abs(table_ee(:,j)));
end[mu, order] = sort(mu_temp,'descend'); % Ordering.end

目标函数

a = [100 0 100 100 100 100 1 10 0 0 9 0 100 100 4 100 100 7 100 2];
alpha = [1 4 1 1 1 1 0.4 3 0.8 0.7 2 1.3 1 1 0.3 1 1 1.5 1 0.6];
delt = [0.2942 0.2560 0.3004 0.5150 0.7723 0.4567 0.8390 0.1369 0.1558 0.4356 0.0257 0.3248 0.0718 0.9155 0.6877 0.5548 0.5835 0.8083 0.6309 0.8071];for i=1:20y(i) = ((1+alpha(i))*abs(2*(X(i)+delt(i)-fix(X(i)+delt(i)))-1)^alpha(i)+a(i))/(1+a(i));
end

二、效果展示

在这里插入图片描述

三、代码获取

后台私信回复“67期”即可获取下载链接。

http://www.yayakq.cn/news/101337/

相关文章:

  • 给人做网站能赚钱吗天津网站建设价位
  • 如何写代码做网站北海网站建设服务商
  • 建设银行信用卡网站显示余额qt做网站服务器
  • 自助建站 平台wordpress 表单管理
  • 数据分析师培训机构简述seo的优化流程
  • 网站建设协议书模板 完整版wordpress国内现状
  • 加强 网站群建设管理郴州优化公司
  • 绵阳市住房和城乡建设局网站网站网页是怎么做的
  • 拼多多网站建设的目的如何在百度发广告
  • 网站开发常用jquery插件山东省威海市文登区建设局网站
  • 昆山建设网站公司2345浏览器在线
  • 建立网站一般包括什么等方式自己建个网站做优化
  • 公司门面网站设计网站下面 备案
  • 门业网站 源码东莞网络营销信息推荐
  • 网站建设术语 英文生活常识网站源码
  • 宁波做网站制作wordpress the_date()
  • 十档行情免费网站太原网页设计公司
  • 如何注册网站名称江苏城乡建设部网站首页
  • 网站开发 项目规划 怎么写wordpress改变文章字体大小
  • 网站线框小程序开发平台哪家好
  • 湖南省建设人力资源网站网站备案代码
  • 巴楚网站建设傻瓜做网站
  • 2018 84号建设厅网站软件开发公司好的有哪些
  • 本地丹阳网站建设深圳网站建设 外包合作
  • 大学生帮别人做网站网站营销的流程
  • 网站建设从入门到精通+网盘企业网站首页设计欣赏
  • 网站空间续费天津海外seo
  • 定制网站制作平台网站域名有什么用
  • 网站服务器用什么好处群辉怎么做网站
  • 郴州网站seo优化汉语言专业简历制作说明