1 简介 2 部分代码 function [S]=update_variables(var_iter,var_niter,K,P,C,var_n_types,var_n_gases) T=exp(-var_iter/var_niter); T0= 298.15; i=1; N=var_n_gases/var_n_types; for j=1:var_n_types K(j)=K(j
1 简介
2 部分代码
function [S]=update_variables(var_iter,var_niter,K,P,C,var_n_types,var_n_gases)T=exp(-var_iter/var_niter);
T0= 298.15;
i=1;
N=var_n_gases/var_n_types;
for j=1:var_n_types
K(j)=K(j)*exp(-C(j)*(1/T-1/T0));
S(i:i+N,:)=P(i:i+N,:)*K(j);
i=j*N+1;
if i+N>var_n_gases
i= j*N;
end
end
end
3 仿真结果
4 参考文献
W. Xie, C. Xing, J. Wang, S. Guo, M. -W. Guo and L. -F. Zhu, "Hybrid Henry Gas Solubility Optimization Algorithm Based on the Harris Hawk Optimization," in IEEE Access, vol. 8, pp. 144665-144692, 2020, doi: 10.1109/ACCESS.2020.3014309.
博主简介:擅长智能优化算法、神经网络预测、信号处理、元胞自动机、图像处理、路径规划、无人机等多种领域的Matlab仿真,相关matlab代码问题可私信交流。
部分理论引用网络文献,若有侵权联系博主删除。