\documentclass[12pt,a4paper]{article}
\usepackage[framed, numbered]{matlab-prettifier}
\usepackage{float}
\usepackage{subfigure} 
\usepackage{mathtools}
\usepackage[nottoc]{tocbibind}
\usepackage{amsthm,amssymb,amsmath}
\usepackage{framed}
\usepackage{booktabs}
\usepackage{graphicx}
%\usepackage[top=20mm, bottom=20mm, left=25mm, right=25mm]{geometry}
\usepackage[pagebackref=false,colorlinks,linkcolor=blue,citecolor=magenta]{hyperref}
\usepackage{xepersian}
\settextfont{XB Niloofar}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\defpersianfont\titr[Scale=1]{XB Titre}
\defpersianfont\nastaliq[Scale=1.5]{IranNastaliq}
\defpersianfont\traffic[Scale=1]{B Traffic}
\defpersianfont\yekan[Scale=1]{B Yekan}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\theoremstyle{definition}
\newtheorem{definition}{تعریف}[section]
\theoremstyle{theorem}
\newtheorem{theorem}[definition]{قضیه}
\newtheorem{lemma}[definition]{لم}
\newtheorem{proposition}[definition]{گزاره}
\newtheorem{corollary}[definition]{نتیجه}
\newtheorem{remark}[definition]{ملاحظه}
\theoremstyle{definition}
\newtheorem{example}[definition]{مثال}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
	\begin{table*}[!]
		\caption{مقایسه زمان و حافظه مورد نیاز برای تحلیل فراسطوح با استفاده از روش‌های توابع دایادی گرین (برپایه همگن‌سازی) و روش معادلات انتگرالی (حاصل از شبیه‌سازی تمام موج فراسطح در نرم افزار FEKO). این نتایج مربوط به محاسبه میدان های حاصل از منبع HED در بلای فراسطحی واقع بر نیم فضای دی الکتریک با ضریب گذر دهی الکتریکی  $\epsilon_{r2}=2$ هستند.}
		\centering
		\begin{tabular}{cccccc}
			\toprule
			\multicolumn{1}{c}{} & \multicolumn{2}{c}{\textbf{Homogenization using DGFs}} & \multicolumn{2}{c}{\textbf{IE Full-Wave FEKO}} &\\
			\cmidrule(rl){2-3} \cmidrule(rl){4-5}
			\textbf{Structures} & {Computation time (s)} & {RAM (MB)} & {Computation time (s)} & {RAM (MB)} &\\
			\midrule
			PEC square patch array & 0.36 & 0.88 & 30413.595. & 67740 &\\
			PEC circular patch array & 0.73& 1.13 & 32418.985 & 69068 &\\
			Array of dielectric spheres & 0.40 & 1.34 & 71022.099 &70010  &\\
			\bottomrule
		\end{tabular}
		\label{table1}
	\end{table*}
\end{document}