\documentclass{article}
\usepackage[nomarkers,nolists]{endfloat}

\begin{document}
	some text

% endfloat requires \begin and \end commands at start of line
\begin{table}
  	\caption{My caption}
	\begin{tabular}{c}
		data
	\end{tabular}
\end{table}

% endfloat requires \begin and \end commands at start of line
\begin{figure}
	\centering
	My figure
  	\caption{My caption}
\end{figure}
		
some more text
\end{document}
