\documentclass[a4paper]{article}

%--------------------------------------------- Basic packages (could be expanded by author)%
\usepackage{graphicx}
\usepackage{subfigure}
%\usepackage{epsfig}
\usepackage[intlimits]{amsmath}
\usepackage{amssymb}
\usepackage{natbib}
\usepackage{hyperref}
%--------------------------------------------- Make all internal and external links - black color%
\hypersetup{
    colorlinks,%
    citecolor=red,%
    filecolor=black,%
    linkcolor=green,%
    urlcolor=black
}

\numberwithin{equation}{section}

\begin{document}

\title{A Sample Article}
\author{Zambri Harun, Rasidi Rasani, Salehuddin Harris}
\date{\today}
\maketitle

\section{Introduction}
Let's start

\section{Result}
OK show some results

% 1st table
\begin{table}[ht]
	\caption{Nonlinear Model Results} 		% title of Table
	\centering 														% used for centering table
	\begin{tabular}{c c c c} 							% centered columns (4 columns)
		\hline\hline 												%inserts double horizontal lines
		Case & Method\#1 & Method\#2 & Method\#3 \\ [0.5ex] % inserts table heading
		\hline 															% inserts single horizontal line
		1 & 50 & 837 & 970 \\ 							% inserting body of the table
		2 & 47 & 877 & 230 \\
		3 & 31 & 25 & 415 \\
		4 & 35 & 144 & 2356 \\
		5 & 45 & 300 & 556 \\ [1ex] 				% [1ex] adds vertical space
		\hline 															%inserts single line
	\end{tabular}
\label{tab:table1} 										% is used to refer this table in the text
\end{table}

% 2nd table
\begin{table}[h]
	\centering 																	% centering table
	\begin{tabular}{l c c rrrrrrr} 							% creating 10 columns
	\hline\hline 																% inserting double-line
	Audio &Audibility & Decision &\multicolumn{7}{c}{Sum of Extracted Bits}
	\\ [0.5ex]
	\hline 																			% inserts single-line
	% Entering 1st row
	& &soft &1 & $-1$ & 1 & 1 & $-1$ & $-1$ & 1 \\[-1ex]
	\raisebox{1.5ex}{Police} & \raisebox{1.5ex}{5}&hard
	& 2 & $-4$ & 4 & 4 & $-2$ & $-4$ & 4 \\[1ex]
	% Entering 2nd row
	& &soft & 1 & $-1$ & 1 & 1 & $-1$ & $-1$ & 1 \\[-1ex]
	\raisebox{1.5ex}{Beethoven} & \raisebox{1.5ex}{5}& hard
	&8 & $-8$ & 2 & 8 & $-8$ & $-8$ & 6 \\[1ex]
	% Entering 3rd row
	& &soft & 1 & $-1$ & 1 & 1 & $-1$ & $-1$ & 1 \\[-1ex]
	\raisebox{1.5ex}{Metallica} & \raisebox{1.5ex}{5}& hard
	&4 & $-8$ & 8 & 4 & $-8$ & $-8$ & 8 \\[1ex]
	% [1ex] adds vertical space
	\hline 																			% inserts single-line
	\end{tabular}
	\caption{Performance After Post Filtering} 	% title name of the table
\label{tab:table2}
\end{table}

Following Table \ref{tab:table1} and \ref{tab:table2}, results are

\newpage
\subsection{Method}

\subsubsection{Validation}

\noindent Perhaps, a figure is useful:

%figure 1
\begin{figure}[htbp]
	\centering
	\includegraphics[width=0.5\textwidth]{fig1}
	\caption{some figure}
	\label{fig:fig1}
\end{figure}

%figure 2 - tabular
\begin{figure}[htbp]
	\centering
	\begin{tabular}{cc}
		\includegraphics[width=0.45\textwidth]{fig1} &
		\includegraphics[width=0.45\textwidth]{fig2} \\
		(a) & (b)
	\end{tabular}
	\caption{another figure but (a) some figure and (b) another figure}
	\label{fig:fig2}
\end{figure}

\noindent Similarly, to refer to figure \ref{fig:fig1} or figure \ref{fig:fig2}(b), use

\newpage
%figure 3 - subfigure
\begin{figure}[htbp]
\centering
\subfigure[][]{
   \includegraphics[width=0.75\columnwidth] {fig1}
   \label{fig:subfig3a}
 }\\
 \subfigure[][]{
   \includegraphics[scale=0.1] {fig2}
   \label{fig:subfig3b}
 }
 \qquad
 \subfigure[][]{
   \includegraphics[width=0.5\columnwidth] {fig2}
   \label{fig:subfig3c}
 }
\caption{another example: \subref{fig:subfig3a} some figure; \subref{fig:subfig3b} another figure; \subref {fig:subfig3c} another figure}
\label{fig:fig3}
\end{figure}

\noindent Figure \ref{fig:subfig3a}--\subref{fig:subfig3c} shows

\newpage
\section{Some Math Example}
You may write math expression within text, for example: $a+b=c$.\\

\noindent Mathematical equations may also be defined using equation environment:

\begin{equation*}						% unnumbered equation
	a_{1}=b_{1}+c_{1}
\end{equation*}

\begin{equation}						% numbered equation
	a_{1}=b_{1}+c_{1}
	\label{eq:eq1}
\end{equation}

\noindent where in order to refer to equation \ref{eq:eq1} or in brackets \eqref{eq:eq1}

\begin{equation}						% numbered equation
	a_{1}=b^{1}+c^{1}
	\label{eq:eq2}
\end{equation}

\begin{equation}						% numbered equation
	\frac{1}{k}=\frac{\partial u}{\partial x}+\int_{x=0}x^2
	\label{eq:eq3}
\end{equation}

\noindent for an array of equations:

\begin{align}
	a_1& =b_1+c_1
	\label{eq:eq4}\\
	a_2& =b_2+c_2-d_2+e_2
	\label{eq:eq5}
\end{align}

\noindent using equation \ref{eq:eq4} and \ref{eq:eq5}

\begin{subequations}
	\begin{align}
		a&=b+c
		\label{eq:eqa}\\
		d&=e+f+g
		\label{eq:eqb}\\
		h&=i+j
		\label{eq:eqc}
	\end{align}
	\label{eq:group}
\end{subequations}

\noindent In equation \eqref{eq:group}, equation \eqref{eq:eqb} represent


\subsection{Matrix}

\begin{equation}
	\left(
		\begin{array}{cc}
			2 & 2 \\
			3 & 4
		\end{array}
	\right)
	\label{eq:eq10}
\end{equation}

\begin{equation}
	\begin{pmatrix}
		\alpha & \beta^{*}\\
		\gamma^{*} & \delta
	\end{pmatrix}
	\label{eq:eq11}
\end{equation}

\begin{equation}
 	A_{m,n} =
 	\begin{pmatrix}
  a_{1,1} & a_{1,2} & \cdots & a_{1,n} \\
  a_{2,1} & a_{2,2} & \cdots & a_{2,n} \\
  \vdots  & \vdots  & \ddots & \vdots  \\
  a_{m,1} & a_{m,2} & \cdots & a_{m,n}
 	\end{pmatrix} 
 	=
	\begin{Bmatrix}
  b_{1} \\
  b_{2} \\
  \vdots  \\
  b_{m}
 	\end{Bmatrix}
  \label{eq:eq12}
\end{equation}

\noindent where in equation \eqref{eq:eq12}, elements $a_{m,n}$ represent 


\section{Conclusion}
Use some method \cite{lamport94}\\
Use some method \citet{lamport94}\\
Use some method \citet[p. 34]{lamport94}\\
Use some method \citep[p. 34]{lamport94}\\
Use some method \citep[see][]{lamport94}
Try validating using method recommended by \cite{smith05} or \cite{cawley96}


% references
\bibliographystyle{plainnat}									% style used (sorting & formatting)
\bibliography{ref}														% reference database / filename (*.bib)

\end{document}