Fixed table rows.
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
\lstset{inputpath=../code}
|
||||
\graphicspath{{images/}}
|
||||
|
||||
\setcounter{page}{15}
|
||||
\setcounter{page}{3}
|
||||
\setcounter{chapter}{0}
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
@@ -142,8 +142,8 @@ unterschiedlichem Speicherbedarf und Wertebreich.
|
||||
\titlecaption{Grundlegende numerische Datentypen und ihr Wertebereich.}{}
|
||||
\label{dtypestab}
|
||||
\begin{tabular}{llcl}\hline
|
||||
Datentyp & Speicherbedarf & Wertebereich & Beispiel \rule{0pt}{2.5ex} \\ \hline
|
||||
double & 64 bit & $\approx -10^{308}$ bis $\approx 10^{308} $& Flie{\ss}kommazahlen.\rule{0pt}{2.5ex}\\
|
||||
Datentyp & Speicherbedarf & Wertebereich & Beispiel \erh \\ \hline
|
||||
double & 64 bit & $\approx -10^{308}$ bis $\approx 10^{308} $& Flie{\ss}kommazahlen.\erb\\
|
||||
int & 64 bit & $-2^{31}$ bis $2^{31}-1$ & Ganzzahlige Werte \\
|
||||
int16 & 16 bit & $-2^{15}$ bis $2^{15}-1$ & Digitalisierte Spannungen. \\
|
||||
uint8 & 8 bit & $0$ bis $255$ & Digitalisierte Imaging Daten. \\ \hline
|
||||
@@ -667,22 +667,19 @@ Ausdr\"ucke sich zu wahr auswerten lassen.
|
||||
|
||||
\begin{table}[tp]
|
||||
\titlecaption{Wahrheitstabellen logisches UND (links) und logisches ODER (rechts).}{}\label{logicalandor}
|
||||
\begin{minipage}[t]{0.4\textwidth}
|
||||
\begin{tabular}{llll}
|
||||
\multicolumn{2}{l}{\multirow{2}{*}{}} & \multicolumn{2}{c}{\textbf{B}} \\
|
||||
\multicolumn{2}{l}{} & \multicolumn{1}{|c|}{wahr} & falsch \\ \cline{2-4}
|
||||
\multirow{2}{*}{\textbf{A}} & \multicolumn{1}{l|}{wahr} & \multicolumn{1}{c|}{\textcolor{mygreen}{wahr}} & \textcolor{red}{falsch} \\ \cline{2-4}
|
||||
& \multicolumn{1}{l|}{falsch} & \multicolumn{1}{l|}{\textcolor{red}{falsch}} & \textcolor{red}{falsch}
|
||||
\end{tabular}
|
||||
\end{minipage}
|
||||
\begin{minipage}[t]{0.4\textwidth}
|
||||
\begin{tabular}{llll}
|
||||
\multicolumn{2}{l}{\multirow{2}{*}{}} & \multicolumn{2}{c}{\textbf{B}} \\
|
||||
\multicolumn{2}{l}{} & \multicolumn{1}{|c|}{wahr} & falsch \\ \cline{2-4}
|
||||
\multirow{2}{*}{\textbf{A}} & \multicolumn{1}{l|}{wahr} & \multicolumn{1}{c|}{\textcolor{mygreen}{wahr}} & \textcolor{mygreen}{wahr} \\ \cline{2-4}
|
||||
& \multicolumn{1}{l|}{falsch} & \multicolumn{1}{l|}{\textcolor{mygreen}{wahr}} & \textcolor{red}{falsch}
|
||||
\end{tabular}
|
||||
\end{minipage}
|
||||
\begin{tabular}{llll}
|
||||
\multicolumn{2}{l}{\multirow{2}{*}{}} & \multicolumn{2}{c}{\textbf{B}} \\
|
||||
\multicolumn{2}{l}{} & \multicolumn{1}{|c}{wahr} & falsch \\ \cline{2-4}
|
||||
\multirow{2}{*}{\textbf{A}} & \multicolumn{1}{l|}{wahr} & \multicolumn{1}{c}{\textcolor{mygreen}{wahr}} & \textcolor{red}{falsch} \erb \\
|
||||
& \multicolumn{1}{l|}{falsch} & \multicolumn{1}{l}{\textcolor{red}{falsch}} & \textcolor{red}{falsch}
|
||||
\end{tabular}
|
||||
\hspace{0.1\textwidth}
|
||||
\begin{tabular}{llll}
|
||||
\multicolumn{2}{l}{\multirow{2}{*}{}} & \multicolumn{2}{c}{\textbf{B}} \\
|
||||
\multicolumn{2}{l}{} & \multicolumn{1}{|c}{wahr} & falsch \\ \cline{2-4}
|
||||
\multirow{2}{*}{\textbf{A}} & \multicolumn{1}{l|}{wahr} & \multicolumn{1}{c}{\textcolor{mygreen}{wahr}} & \textcolor{mygreen}{wahr} \erb \\
|
||||
& \multicolumn{1}{l|}{falsch} & \multicolumn{1}{l}{\textcolor{mygreen}{wahr}} & \textcolor{red}{falsch}
|
||||
\end{tabular}
|
||||
\end{table}
|
||||
|
||||
Anders ist das beim logischen ODER. Hier ist der gesamte Ausdruck
|
||||
@@ -704,10 +701,10 @@ verf\"ugbar.
|
||||
\titlecaption{\label{logicaloperators}
|
||||
Logische Operatoren in \matlab.}{}
|
||||
\begin{center}
|
||||
\begin{tabular}{c|c}
|
||||
\begin{tabular}{cc}
|
||||
\hline
|
||||
\textbf{Operator} & \textbf{Beschreibung} \\ \hline
|
||||
$\sim$ & logisches NOT\\
|
||||
\textbf{Operator} & \textbf{Beschreibung} \erh \\ \hline
|
||||
$\sim$ & logisches NICHT \erb \\
|
||||
$\&$ & logisches UND\\
|
||||
$|$ & logisches ODER\\
|
||||
$\&\&$ & short-circuit logisches UND\\
|
||||
@@ -727,10 +724,10 @@ Gleichheit (\varcode{==}) gr\"o{\ss}er oder kleiner als (\varcode{>},
|
||||
\titlecaption{\label{relationaloperators}
|
||||
Relationale Operatoren in \matlab.}{}
|
||||
\begin{center}
|
||||
\begin{tabular}{c|c}
|
||||
\begin{tabular}{cc}
|
||||
\hline
|
||||
\textbf{Operator} & \textbf{Beschreibung} \\ \hline
|
||||
$<$ & kleiner als\\
|
||||
\textbf{Operator} & \textbf{Beschreibung} \erh \\ \hline
|
||||
$<$ & kleiner als \erb \\
|
||||
$>$ & gr\"o{\ss}er als \\
|
||||
$==$ & gleich \\
|
||||
$>=$ & gr\"o{\ss}er oder gleich \\
|
||||
@@ -845,7 +842,7 @@ bestimmten Zeitraums ausw\"ahlen m\"ochte (Abbildung
|
||||
\ref{logicalindexingfig}).
|
||||
|
||||
|
||||
\begin{figure}[h]
|
||||
\begin{figure}[t]
|
||||
\includegraphics[width= 0.9\columnwidth]{logicalIndexingTime}
|
||||
\titlecaption{Beispiel f\"ur logisches Indizieren.}
|
||||
{Der rot markierte Abschnitt aus den Daten wurde indirekt
|
||||
@@ -1108,8 +1105,8 @@ switch-Anweisung und der case-Anweisung getestet wird.
|
||||
|
||||
Soll die Ausf\"uhrung einer Schleife abgebrochen oder \"ubersprungen
|
||||
werden, werden die Schl\"usselworte \code{break} und
|
||||
\code{continue} eingesetzt (Listing \ref{breakcontinuelisting}
|
||||
zeigt, wie sie eingesetzt werden k\"onnen).
|
||||
\code{continue} eingesetzt (Listings \ref{continuelisting}
|
||||
und \ref{continuelisting} zeigen, wie sie eingesetzt werden k\"onnen).
|
||||
|
||||
\begin{lstlisting}[caption={Abbrechen von Schleifen mit \varcode{break}.}, label=breaklisting]
|
||||
>> x = 1;
|
||||
|
||||
Reference in New Issue
Block a user