我有一个图形和表格,代码彼此相邻放置,但由于某种原因,这两个对象之间的间距太大。
\begin{table}
\begin{center}
\begin{tabular}{|c|c|}
\hline
Measurement & Voltage \\ [0.5ex]
\hline\hline
$V_m$ & 10V \\
$V_{o-ch1}$ & 10.1 V \\
$V_{o-ch2}$ & 10.1 V \\
\hline
\end{tabular}
\caption{\label{tab:table-name} Unmodified Full-Wave }
\end{center}
\end{table}
\begin{figure}[h]
\centering
\includegraphics[scale=.3]{Full wave waveform.jpg}
\caption{Full wave: $V_m$, $V_o-Ch1$, and $V_o-Ch2$ }
\label{fig}
\end{figure}
\begin{center}
\begin{figure}[h]
\centering
\includegraphics[scale=.1]{10 perc.jpg}
\caption{10 \% Ripple Value}
\label{fig}
\end{figure}
\end{center}
\begin{table}
\begin{center}
\begin{tabular}{|c|c|c|}
\hline
Measurement & Theoretical Voltage(V) & Experimental Voltage(V) \\ [0.5ex]
\hline\hline
$V_m$ & 10 & 10 \\
$V_{o-Ch1}$ & 10 & 14.1 \\
$V_{o-Ch2}$ & 10 & 13.2 \\
Ripple & 1.0 & 1.0 \\
\hline
\end{tabular}
\caption{Table: 10 \% Ripple voltage 100 uF}
\label{tab:table-name}
\end{center}
\end{table} '''