最美情侣中文字幕电影,在线麻豆精品传媒,在线网站高清黄,久久黄色视频

歡迎光臨散文網(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代碼的評論 (共 條)

使用qq登录你需要登录后才可以评论。
安福县| 虞城县| 名山县| 辽宁省| 繁昌县| 延吉市| 通许县| 黔西县| 本溪市| 清水河县| 洛隆县| 新疆| 商洛市| 故城县| 元氏县| 黄大仙区| 巨鹿县| 乐安县| 西昌市| 乌兰察布市| 元氏县| 韩城市| 凤冈县| 安泽县| 抚顺县| 辽宁省| 磐石市| 温泉县| 宜君县| 三门县| 南部县| 自治县| 保康县| 南江县| 万源市| 繁峙县| 中宁县| 无极县| 临沧市| 乌兰察布市| 衡东县|