fixed excercise bug
This commit is contained in:
@@ -855,7 +855,7 @@ Alternativ zum ``subscript indexing'' koennen die Elemente von Matrizen auch lin
|
||||
\begin{enumerate}
|
||||
\item \verb+x( (y <= 2) )+
|
||||
\item \verb+x( (x > 2) | (y < 8) )+
|
||||
\item \verb+x( (x == 0) \& (y == 0) )+
|
||||
\item \verb+x( (x == 0) & (y == 0) )+
|
||||
\end{enumerate}
|
||||
\item Erzeuge eine 100x100 2-D Matrix mit Zufallswerten zwischen 0 und 100 (\verb+randi+). Ersetze \verb+x < 33+ mit 0, \verb+x >= 33 und x < 66+ mit 1 und alle \verb+x >= 66+ auf 2.
|
||||
\item Ermittle die Anzahl Elemente fuer jede Klasse mithilfe eines Booleschen Ausdrucks.
|
||||
|
||||
Reference in New Issue
Block a user