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

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

分享到微博請遵守國家法律
竹山县| 福泉市| 资源县| 石泉县| 安塞县| 文水县| 宝丰县| 富蕴县| 象山县| 新和县| 会东县| 北碚区| 广元市| 资阳市| 邛崃市| 宜丰县| 烟台市| 乳源| 清涧县| 寿光市| 方城县| 衡阳市| 陆良县| 六枝特区| 永城市| 新乐市| 织金县| 来宾市| 山西省| 抚州市| 安福县| 丰原市| 班玛县| 揭阳市| 通河县| 百色市| 六枝特区| 蕉岭县| 肇庆市| 明光市| 兴山县|