\begin{table*}
\begin{center}
\caption{Comparison of existing methods using infrared array sensor.}
\begin{tabular}{c c c c c c c} \\ \toprule
{Study} & {IR sensor (resolution)} & {No. of sensors} & {Position of the sensor} & {Methods} & {Accuracy} & {limitations} \\ \hline
Mashiyama et al.\cite{Mashiyama_2014} & $8 \times 8$ & 1 & Ceiling & SVM & above 94\% & Very limited activity in small area, no transition of activity detection \\ \midrule
Mashiyama et al.\cite{Mashiyama_2015_2} & $8\times 8$ & 1 & Ceiling & k-NN & 94\% & Less-effective feature extraction methods \\ \midrule
Kobayashi et al\cite{Kobayashi_2018} & $8\times 8$ & 2 & Ceiling, Wall & SVM & above 90\% & Particular positions difficult to differentiate the activity due reactive pixels \\ \midrule
Xiyui et al.\cite{Fan_2017} & $8\times 8$ & 1 & Wall & LSTM, GRU & 75\% and 85\% & Very limited perform only in parallel and perpendicular to the sensor \\ \midrule
Taniguchi et al.\cite{Taniguchi_2014} & $16\times 16$ & 2 & Ceiling, Wall & Time series analysis & 72\% & Old approach less accuracy \\ \midrule
Taramasco et al.\cite{Taramasco_2018}& $1\times 16$ & 2 & Opposite corner of the room & LSTM, GRU, Bi-LSTM & 93\% & Its highly computation cost to implement to the devices \\\bottomrule
\end{tabular}\label{tabular_1}
\end{center}
\end{table*}
The table in the following image is somewhat close to what I'm looking to achieve.



tabular' preamble characterL'. I am getting this error when I use tabularx I walways get mdwtab package error. can u help me with this – Muthukumar K.A. Feb 21 '21 at 05:51mdwtab-- a package which hasn't been updated in more than 20 [!] years -- then that's a crucial piece of information which you really ought to mention in the body of your query.mdwtabis known to conflict with quite a few other, more modern, packages. Please explain why you want to usemdwtab. – Mico Feb 21 '21 at 06:33mdwtabandtabularxare compatible. @Mico answer work fine also withloadedmdwtabpackages. But havingmdwtabpackages, you can use its rules\hlx[1pt]{hv}for\toprule,\hlx{vhv}for\midruleand ``\hlx[1pt]{hv}for bottom rule. Result is slightly different as with booktabs rules. – Zarko Feb 21 '21 at 08:29