无码av一区二区三区无码,在线观看老湿视频福利,日韩经典三级片,成 人色 网 站 欧美大片在线观看

歡迎光臨散文網(wǎng) 會員登陸 & 注冊

反對流定向算法MATLAB代碼

2023-02-03 20:39 作者:Matlab工程師  | 我要投稿

?作者簡介:熱愛科研的Matlab仿真開發(fā)者,修心和技術(shù)同步精進(jìn),matlab項目合作可私信。

??個人主頁:Matlab科研工作室

??個人信條:格物致知。


? 內(nèi)容介紹

反對流定向算法MATLAB代碼

? 部分代碼

% Opposition Flow Direction Algorithm (OFDA) source Code Version 1.0

%

% Developed in MATLAB R2018b

%

% Author and programmer:?

% Dr Manoj Kumar Naik

% Faculty of Engineering and Technology, Siksha O Anusandhan, Bhubaneswar, Odisha ?751030, India?


%_____________________________________________________________________________________________________? ? ? ? ? ?

% Please cite to the main paper:

% R. Panda, M. Swain, M. K. Naik, S. Agrawal, and A. Abraham,?

% 揂 Novel Practical Decisive Row-class?Entropy-based Technique for Multilevel Threshold Selection?

% Using Opposition Flow Directional Algorithm,?IEEE Access, p. 1, 2022, doi: 10.1109/ACCESS.2022.3215082.

%

% This program using the framework of FDA by SEYEDALI MIRJALILI

% https://seyedalimirjalili.com/projects

%_____________________________________________________________________________________________________

clearvars

close all

clc


disp('The OFDA is tracking the problem');


alpha=30; % Number of flow

Function_name='F3' % Name of the test function that can be from F1 to F23?

MaxIT=500; % Maximum number of iterations


[lb,ub,dim,fobj]=Get_Functions_details(Function_name); % Function details


Times=11; %Number of independent times you want to run the OFDA

display(['Number of independent runs: ', num2str(Times)]);


for i=1:Times

[Destination_fitness(i),bestPositions(i,:),Convergence_curve(i,:)]=OFDA(alpha,MaxIT,lb,ub,dim,fobj);

display(['The optimal fitness of OFDA is: ', num2str(Destination_fitness(i))]);

end


[bestfitness,index]=min(Destination_fitness);

disp('--------Best Fitness, Average Fitness, Standard Deviation and Best Solution--------');

display(['The best fitness of OFDA is: ', num2str(bestfitness)]);

display(['The average fitness of OFDA is: ', num2str(mean(Destination_fitness))]);

display(['The standard deviation fitness of OFDA is: ', num2str(std(Destination_fitness))]);

display(['The best location of OFDA is: ', num2str(bestPositions(index,:))]);

figure('Position',[269? ?240? ?660? ?290])

%Draw search space

subplot(1,2,1);

func_plot(Function_name);

title('Parameter space')

xlabel('x_1');

ylabel('x_2');

zlabel([Function_name,'( x_1 , x_2 )'])


%Draw objective space

subplot(1,2,2);

semilogy(Convergence_curve(index,:),'LineWidth',3);

xlabel('Iterations');

ylabel('Best fitness obtained so far');

legend('OFDA');

box on;

axis tight;

grid off;


? 運行結(jié)果

編輯

編輯

編輯

? 參考文獻(xiàn)

R. Panda, M. Swain, M. K. Naik, S. Agrawal, and A. Abraham,? Novel Practical Decisive Row-class Entropy-based Technique for Multilevel Threshold Selection Using Opposition Flow Directional Algorithm,?IEEE Access, p. 1, 2022, doi: 10.1109/ACCESS.2022.3215082.

? 完整代碼

??部分理論引用網(wǎng)絡(luò)文獻(xiàn),若有侵權(quán)聯(lián)系博主刪除

?? 關(guān)注我領(lǐng)取海量matlab電子書和數(shù)學(xué)建模資料


反對流定向算法MATLAB代碼的評論 (共 條)

分享到微博請遵守國家法律
神木县| 仪陇县| 鄄城县| 威宁| 望奎县| 奉化市| 武义县| 仙游县| 遂川县| 安徽省| 兴和县| 临城县| 潼关县| 会同县| 龙口市| 临海市| 汉阴县| 永胜县| 兰考县| 罗平县| 吉安市| 秦皇岛市| 尚义县| 开阳县| 平和县| 桓仁| 阳朔县| 梅河口市| 白水县| 平乡县| 徐闻县| 依兰县| 得荣县| 开原市| 延川县| 三江| 六安市| 尼玛县| 汶上县| 金川县| 吉木乃县|