2.2.1 So­lu­tion funcvec-a

Ques­tion:

Graph­i­cally com­pare the spike di­a­gram of the 10-di­men­sion­al vec­tor $\vec{v}$ with com­po­nents (0.5,1,1.5,2,2.5,3,3.5,4,4.5,5) with the plot of the func­tion $f(x)$ $\vphantom0\raisebox{1.5pt}{$=$}$ 0.5 $x$.

An­swer:


\begin{displaymath}
\begin{picture}(400,90)(-200,-20)\thinlines
\put(-200,0){...
...{\vector(0,1){45}}
\put(-100,0){\vector(0,1){50}}
\end{picture}\end{displaymath}