summaryrefslogtreecommitdiff
path: root/day2/session1.tex
diff options
context:
space:
mode:
authorPuneeth Chaganti2009-10-03 16:18:26 +0530
committerPuneeth Chaganti2009-10-03 16:18:26 +0530
commitc0f675b090625461280f4961fe97ea725186ff67 (patch)
treeca616613a06efd50fd73f06bca46adfa69687536 /day2/session1.tex
parent4962e54370627e723248cd15db0ba638beb8b199 (diff)
downloadworkshops-more-scipy-c0f675b090625461280f4961fe97ea725186ff67.tar.gz
workshops-more-scipy-c0f675b090625461280f4961fe97ea725186ff67.tar.bz2
workshops-more-scipy-c0f675b090625461280f4961fe97ea725186ff67.zip
Added a problem after initial numpy section in session1.
Diffstat (limited to 'day2/session1.tex')
-rw-r--r--day2/session1.tex11
1 files changed, 9 insertions, 2 deletions
diff --git a/day2/session1.tex b/day2/session1.tex
index 91fc3d6..812d257 100644
--- a/day2/session1.tex
+++ b/day2/session1.tex
@@ -70,7 +70,6 @@
% postbreak = \space\dots
% }
-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Title page
\title[]{Matrices and Arrays\\ \& \\2D Plotting}
@@ -286,7 +285,15 @@ array([[ 0.96276665, 0.77174861],
\end{frame}
\begin{frame}[fragile]
- \frametitle{Problem set 1.0}
+ \frametitle{Problem Set}
+ \begin{lstlisting}
+ >>> from scipy import misc
+ >>> A=misc.imread(name)
+ >>> misc.imshow(A)
+ \end{lstlisting}
+ \begin{enumerate}
+ \item Convert an RGB image to Grayscale. $ Y = 0.5R + 0.25G + 0.25B $
+ \end{enumerate}
\inctime{15}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%