\documentclass{article}
\usepackage{booktabs} % for \toprule command
\usepackage{graphicx} %\scalebox
\usepackage{rotating} % Rotating table
\usepackage[extrafootnotefeatures]{xepersian}
\settextfont[Scale=1]{Yas}
\setlatintextfont[Scale=0.8]{Arial}
\setdigitfont[Scale=0.9]{Yas}
\title{جداول}
\author{محمد فرشی}
\begin{document}
\maketitle
\section{مقدمه}
در این مجال، روش‌های مختلف در آوردن جداول در مقالات و نوشته‌ها بیان می‌شود. 
\section{دستور جدول}
{\latin
\begin{table}[h]
 \caption{‌ The results of the proposed algorithm compared to other methods}
 \label{MOT}
 \begin{center}
 \begin{tabular}{ccccccccc}
 \toprule 
 &\multicolumn{2}{c}{Proposed method} & \multicolumn{2}{p{0.16\textwidth}}{ EEOA } & \multicolumn{2}{p{0.15\textwidth}}{  DOA}&\multicolumn{2}{p{0.2\textwidth}}{  EL-NSGA2}\\
 \hline   
  {Data volume }& Delay &Energy & Delay & Energy & Delay &Energy & Delay &Energy \\ 
\hline
\midrule
$1000$ & $20.8847$ & $806.0380$&$32.3900$&$827.0400$&$19.1300$ &$1109.7300$ & $52.5300$ & $3224.6000$ \\							
%\hline
$2000$ & $40.5236 $ & $1604.4700$&$64.5300$&$1545.1400$& $38.1500$&$2353.0100$ & $90.3600$ & $6417.4000$\\
%\hline
$3000$& $60.6069$&$2464.8300$&$94.3900$&$2341.9500$&$56.2600$& $3634.1400$  & $143.1800$ & $11231.0000$\\
%\hline
$4000$&$80.5703$&$3324.3800$&$130.3200$&$3058.3800$&$72.1400$&$4630.7000$ & $190.2100$ & $13304.0000$\\
%\hline
$5000$&$100.4759$&$3969.8300$&$163.9100$&$4006.6600$&$93.3900$&$6205.6900$ & $201.3000$ & $15876.0000$\\
%\hline  
$6000$&$120.3877$&$4649.6100$&$196.1100$&$4798.4000$&$108.8370$&$6879.0090$ & $251.3000$ & $18596.0000$\\
\bottomrule
\end{tabular}
%}
\end{center}
\end{table}
 }
\newpage 
\section{کوچک کردن جدول با دستور \lr{scalebox}}
{\latin
\begin{table}[h]
 \caption{‌ The results of the proposed algorithm compared to other methods}
 \label{MOT}
 \begin{center}
   \scalebox{0.7}{
  \begin{tabular}{ccccccccc}
 \toprule 
 &\multicolumn{2}{c}{Proposed method} & \multicolumn{2}{p{0.16\textwidth}}{ EEOA } & \multicolumn{2}{p{0.15\textwidth}}{  DOA}&\multicolumn{2}{p{0.2\textwidth}}{  EL-NSGA2}\\
 \hline   
  {Data volume }& Delay &Energy & Delay & Energy & Delay &Energy & Delay &Energy \\ 
\hline
\midrule
$1000$ & $20.8847$ & $806.0380$&$32.3900$&$827.0400$&$19.1300$ &$1109.7300$ & $52.5300$ & $3224.6000$ \\							
%\hline
$2000$ & $40.5236 $ & $1604.4700$&$64.5300$&$1545.1400$& $38.1500$&$2353.0100$ & $90.3600$ & $6417.4000$\\
%\hline
$3000$& $60.6069$&$2464.8300$&$94.3900$&$2341.9500$&$56.2600$& $3634.1400$  & $143.1800$ & $11231.0000$\\
%\hline
$4000$&$80.5703$&$3324.3800$&$130.3200$&$3058.3800$&$72.1400$&$4630.7000$ & $190.2100$ & $13304.0000$\\
%\hline
$5000$&$100.4759$&$3969.8300$&$163.9100$&$4006.6600$&$93.3900$&$6205.6900$ & $201.3000$ & $15876.0000$\\
%\hline  
$6000$&$120.3877$&$4649.6100$&$196.1100$&$4798.4000$&$108.8370$&$6879.0090$ & $251.3000$ & $18596.0000$\\
\bottomrule
\end{tabular}
}
\end{center}
\end{table}
 }


\section{کاهش حاشیۀ ستون‌ها  و ثابت کردن عرض ستون}
در مثال زیر، عرض ستو‌ن اول ثابت شده است و حاشیۀ ستون‌ها نیز کاهش یافته است.
{\latin
\begin{table}[h]
 \caption{‌ The results of the proposed algorithm compared to other methods}
 \label{MOT}
 \begin{center}
 \begin{tabular}{@{}p{0.08\textwidth}l@{\hspace*{1mm}}l@{\hspace*{1mm}}l@{\hspace*{1mm}}l@{\hspace*{1mm}}l@{\hspace*{1mm}}l@{\hspace*{1mm}}l@{\hspace*{1mm}}l@{}}
\toprule 
 &\multicolumn{2}{c}{Proposed method} & \multicolumn{2}{p{0.16\textwidth}}{ EEOA } & \multicolumn{2}{p{0.15\textwidth}}{  DOA}&\multicolumn{2}{p{0.2\textwidth}}{  EL-NSGA2}\\
 \hline   
  {Data volume }& Delay &Energy & Delay & Energy & Delay &Energy & Delay &Energy \\ 
\hline
\midrule
$1000$ & $20.8847$ & $806.0380$&$32.3900$&$827.0400$&$19.1300$ &$1109.7300$ & $52.5300$ & $3224.6000$ \\							
%\hline
$2000$ & $40.5236 $ & $1604.4700$&$64.5300$&$1545.1400$& $38.1500$&$2353.0100$ & $90.3600$ & $6417.4000$\\
%\hline
$3000$& $60.6069$&$2464.8300$&$94.3900$&$2341.9500$&$56.2600$& $3634.1400$  & $143.1800$ & $11231.0000$\\
%\hline
$4000$&$80.5703$&$3324.3800$&$130.3200$&$3058.3800$&$72.1400$&$4630.7000$ & $190.2100$ & $13304.0000$\\
%\hline
$5000$&$100.4759$&$3969.8300$&$163.9100$&$4006.6600$&$93.3900$&$6205.6900$ & $201.3000$ & $15876.0000$\\
%\hline  
$6000$&$120.3877$&$4649.6100$&$196.1100$&$4798.4000$&$108.8370$&$6879.0090$ & $251.3000$ & $18596.0000$\\
\bottomrule
\end{tabular}
\end{center}
\end{table}
 }
 %\newpage
\section{چرخاندن جدول}
{\latin
\begin{sidewaystable}
%\sidewaystablefn%
 \caption{‌ The results of the proposed algorithm compared to other methods}
 \label{MOT}
 \begin{center}
 \begin{tabular}{ccccccccc}
 \toprule 
 &\multicolumn{2}{c}{Proposed method} & \multicolumn{2}{p{0.16\textwidth}}{ EEOA } & \multicolumn{2}{p{0.15\textwidth}}{  DOA}&\multicolumn{2}{p{0.2\textwidth}}{  EL-NSGA2}\\
 \hline   
  {Data volume }& Delay &Energy & Delay & Energy & Delay &Energy & Delay &Energy \\ 
\hline
\midrule
$1000$ & $20.8847$ & $806.0380$&$32.3900$&$827.0400$&$19.1300$ &$1109.7300$ & $52.5300$ & $3224.6000$ \\							
%\hline
$2000$ & $40.5236 $ & $1604.4700$&$64.5300$&$1545.1400$& $38.1500$&$2353.0100$ & $90.3600$ & $6417.4000$\\
%\hline
$3000$& $60.6069$&$2464.8300$&$94.3900$&$2341.9500$&$56.2600$& $3634.1400$  & $143.1800$ & $11231.0000$\\
%\hline
$4000$&$80.5703$&$3324.3800$&$130.3200$&$3058.3800$&$72.1400$&$4630.7000$ & $190.2100$ & $13304.0000$\\
%\hline
$5000$&$100.4759$&$3969.8300$&$163.9100$&$4006.6600$&$93.3900$&$6205.6900$ & $201.3000$ & $15876.0000$\\
%\hline  
$6000$&$120.3877$&$4649.6100$&$196.1100$&$4798.4000$&$108.8370$&$6879.0090$ & $251.3000$ & $18596.0000$\\
\bottomrule
\end{tabular}
\end{center}
\end{sidewaystable}
 }

\end{document}