%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% defdmpic.tex
% definition of specific picture elements 
% for scriptum digital modulation
%
% author:          K.H. Hofmann
% e-mail:          karlheinrich.hofmann@hs-rm.de
% created:         11.08.1996
% last revision:   10.07.2014, 17.11.2009
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\usepackage{calc}       % fuer Rechenoperationen mit Parametern
%\usepackage{epic}       % fuer \drawline
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% I/Q Diagramm 
% wird nur f"ur "alte" Files verwendet
% ab 8/96 durch \iqblanco ersetzt 
% Format mit Beschriftung: 75mm ,70mm
% Format ohne Beschriftung: 60mm, 60mm
% Bezugspunkt zur Plazierung (put(x0,y0) command): untere linke Ecke
% => Koordinatenursprung: x0+45, y0+40
%
%\newsavebox{\IQ}
%\savebox{\IQ}(75,70)[bl]{
%\multiput(15,10)(0,60){2}{\line(1,0){60}}
%\multiput(15,10)(60,0){2}{\line(0,1){60}}
%\lnr{15}{40}{60} \lnu{45}{10}{60}
%\linethickness{0.05 mm}
%\multiput(15,10)(0,5){13}{\multiput(0,0)(1,0){60}{\line(1,0){0.5}}}
%\multiput(15,10)(5,0){13}{\multiput(0,0)(0,1){60}{\line(0,1){0.5}}}
%\thinlines
%% \txtlb{17}{72}{{\fsz I/Q Diagramm}}
%\txtt{45}{6}{$\ssty I(t)$}
%\txtt{15}{9}{\tsz -1,2} \txtt{20}{9}{\tsz -1,0} 
%\txtt{25}{9}{\tsz -0,8} \txtt{30}{9}{\tsz -0,6} 
%\txtt{35}{9}{\tsz -0,4} \txtt{40}{9}{\tsz -0,2}
%\txtt{45}{9}{\tsz 0,0}  \txtt{50}{9}{\tsz 0,2} 
%\txtt{55}{9}{\tsz 0,4}  \txtt{60}{9}{\tsz 0,6} 
%\txtt{65}{9}{\tsz 0,8}  \txtt{70}{9}{\tsz 1,0}
%\txtt{75}{9}{\tsz 1,2}
%\txtr{7}{40}{$\ssty Q(t)$}
%\txtr{14}{10}{\tsz -1,2} \txtr{14}{15}{\tsz -1,0} 
%\txtr{14}{20}{\tsz -0,8} \txtr{14}{25}{\tsz -0,6} 
%\txtr{14}{30}{\tsz -0,4} \txtr{14}{35}{\tsz -0,2} 
%\txtr{14}{40}{\tsz 0,0}  \txtr{14}{45}{\tsz 0,2} 
%\txtr{14}{50}{\tsz 0,4}  \txtr{14}{55}{\tsz 0,6} 
%\txtr{14}{60}{\tsz 0,8}  \txtr{14}{65}{\tsz 1,0} 
%\txtr{14}{70}{\tsz 1,2} 
%} 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% I/Q Diagramm mit Achsenbeschriftung
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% I/Q Diagramm 
% Format mit Beschriftung: 75mm ,70mm
% Format ohne Beschriftung: 60mm, 60mm
% Bezugspunkt zur Plazierung: Ursprung des Koordinatenkreuzes x0=45, y0=40
%
\newcommand{\iqblanco}[2]{\put(#1,#2){\begin{picture}(75,70)(45,40)
 \multiput(15,10)(0,60){2}{\line(1,0){60}}
 \multiput(15,10)(60,0){2}{\line(0,1){60}}
 \lnr{15}{40}{60} \lnu{45}{10}{60}
 \linethickness{0.05 mm}
% \multiput(15,10)(0,5){13}{\multiput(0,0)(1,0){60}{\line(1,0){0.5}}}
% \multiput(15,10)(5,0){13}{\multiput(0,0)(0,1){60}{\line(0,1){0.5}}}
 \multiput(15,10)(0,5){13}{\lnr{0}{0}{60}}
 \multiput(15,10)(5,0){13}{\lnu{0}{0}{60}}
 \thinlines
 % \txtlb{17}{72}{{\fsz I/Q Diagramm}}
 \txtt{45}{6}{$\ssty I(t)$} \vcr{50}{5}{10}
 \txtt{15}{9}{\tsz -1,2} \txtt{20}{9}{\tsz -1,0} 
 \txtt{25}{9}{\tsz -0,8} \txtt{30}{9}{\tsz -0,6} 
 \txtt{35}{9}{\tsz -0,4} \txtt{40}{9}{\tsz -0,2}
 \txtt{45}{9}{\tsz 0,0}  \txtt{50}{9}{\tsz 0,2} 
 \txtt{55}{9}{\tsz 0,4}  \txtt{60}{9}{\tsz 0,6} 
 \txtt{65}{9}{\tsz 0,8}  \txtt{70}{9}{\tsz 1,0}
 \txtt{75}{9}{\tsz 1,2}
 \txtr{7}{40}{$\ssty Q(t)$} \vcu{5}{43}{10}
 \txtr{14}{10}{\tsz -1,2} \txtr{14}{15}{\tsz -1,0} 
 \txtr{14}{20}{\tsz -0,8} \txtr{14}{25}{\tsz -0,6} 
 \txtr{14}{30}{\tsz -0,4} \txtr{14}{35}{\tsz -0,2} 
 \txtr{14}{40}{\tsz 0,0}  \txtr{14}{45}{\tsz 0,2} 
 \txtr{14}{50}{\tsz 0,4}  \txtr{14}{55}{\tsz 0,6} 
 \txtr{14}{60}{\tsz 0,8}  \txtr{14}{65}{\tsz 1,0} 
 \txtr{14}{70}{\tsz 1,2} 
\end{picture}}} 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% I/Q Diagramm ohne Achsenbeschriftung
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% I/Q Diagramm 
% Format mit Beschriftung: 75mm ,70mm
% Format ohne Beschriftung: 60mm, 60mm
% Bezugspunkt zur Plazierung: Ursprung des Koordinatenkreuzes x0=45, y0=40
%
\newcommand{\iqblanconl}[2]{\put(#1,#2){\begin{picture}(75,70)(45,40)
 \multiput(15,10)(0,60){2}{\line(1,0){60}}
 \multiput(15,10)(60,0){2}{\line(0,1){60}}
 \lnr{15}{40}{60} \lnu{45}{10}{60}
 \linethickness{0.05 mm}
 \multiput(15,10)(0,5){13}{\multiput(0,0)(1,0){60}{\line(1,0){0.5}}}
 \multiput(15,10)(5,0){13}{\multiput(0,0)(0,1){60}{\line(0,1){0.5}}}
 \thinlines
 % \txtlb{17}{72}{{\fsz I/Q Diagramm}}
 \txtt{45}{6}{$\ssty I(t)$} \vcr{50}{5}{10}
 \txtr{7}{40}{$\ssty Q(t)$} \vcu{5}{43}{10}
\end{picture}}} 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Cosine segments, solid line
%                      cosa:  0    .. pi/2
%                      cosb: pi/2  .. pi
%                      cosc:  pi   .. 3pi/2
%                      cosd: 3pi/2 .. 2pi
% amplitude: 10mm
% total period: 40mm
% parameter: #1 x-coordinate (y-axis position)
%            #2 y-coordinate (x-axis position) 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
\newcommand{\cosa}[2]{\put(#1,#2){\begin{picture}(10,10)(0,0)
\drawline(0.00,10.0)(0.25,9.99)(0.50,9.97)(0.75,9.93)
         (1.00,9.88)(1.25,9.81)(1.50,9.72)(1.75,9.62)%
         (2.00,9.51)(2.25,9.38)(2.50,9.24)(2.75,9.08)%
         (3.00,8.91)(3.25,8.72)(3.50,8.53)(3.75,8.31)%
         (4.00,8.09)(4.25,7.85)(4.50,7.60)(4.75,7.34)%
         (5.00,7.07)(5.25,6.79)(5.50,6.49)(5.75,6.19)%
         (6.00,5.88)(6.25,5.55)(6.50,5.22)(6.75,4.89)%
         (7.00,4.54)(7.25,4.19)(7.50,3.83)(7.75,3.46)%
         (8.00,3.09)(8.25,2.71)(8.50,2.33)(8.75,1.95)%
         (9.00,1.56)(9.25,1.17)(9.50,0.78)(9.75,0.39)%
         (10.0,0.00)  
\end{picture}}} 
%
\newcommand{\cosb}[2]{\put(#1,#2){\begin{picture}(10,10)(-10,0)
\drawline(-0.00,-10.0)(-0.25,-9.99)(-0.50,-9.97)(-0.75,-9.93)%
         (-1.00,-9.88)(-1.25,-9.81)(-1.50,-9.72)(-1.75,-9.62)%
         (-2.00,-9.51)(-2.25,-9.38)(-2.50,-9.24)(-2.75,-9.08)%
         (-3.00,-8.91)(-3.25,-8.72)(-3.50,-8.53)(-3.75,-8.31)%
         (-4.00,-8.09)(-4.25,-7.85)(-4.50,-7.60)(-4.75,-7.34)%
         (-5.00,-7.07)(-5.25,-6.79)(-5.50,-6.49)(-5.75,-6.19)%
         (-6.00,-5.88)(-6.25,-5.55)(-6.50,-5.22)(-6.75,-4.89)%
         (-7.00,-4.54)(-7.25,-4.19)(-7.50,-3.83)(-7.75,-3.46)%
         (-8.00,-3.09)(-8.25,-2.71)(-8.50,-2.33)(-8.75,-1.95)%
         (-9.00,-1.56)(-9.25,-1.17)(-9.50,-0.78)(-9.75,-0.39)%
         (-10.0,-0.00)  
\end{picture}}} 
%
\newcommand{\cosc}[2]{\put(#1,#2){\begin{picture}(10,10)(0,0)
\drawline(0.00,-10.0)(0.25,-9.99)(0.50,-9.97)(0.75,-9.93)
         (1.00,-9.88)(1.25,-9.81)(1.50,-9.72)(1.75,-9.62)%
         (2.00,-9.51)(2.25,-9.38)(2.50,-9.24)(2.75,-9.08)%
         (3.00,-8.91)(3.25,-8.72)(3.50,-8.53)(3.75,-8.31)%
         (4.00,-8.09)(4.25,-7.85)(4.50,-7.60)(4.75,-7.34)%
         (5.00,-7.07)(5.25,-6.79)(5.50,-6.49)(5.75,-6.19)%
         (6.00,-5.88)(6.25,-5.55)(6.50,-5.22)(6.75,-4.89)%
         (7.00,-4.54)(7.25,-4.19)(7.50,-3.83)(7.75,-3.46)%
         (8.00,-3.09)(8.25,-2.71)(8.50,-2.33)(8.75,-1.95)%
         (9.00,-1.56)(9.25,-1.17)(9.50,-0.78)(9.75,-0.39)%
         (10.0,-0.00)  
\end{picture}}} 
%
\newcommand{\cosd}[2]{\put(#1,#2){\begin{picture}(10,10)(-10,0)
\drawline(-0.00,10.0)(-0.25,9.99)(-0.50,9.97)(-0.75,9.93)
         (-1.00,9.88)(-1.25,9.81)(-1.50,9.72)(-1.75,9.62)%
         (-2.00,9.51)(-2.25,9.38)(-2.50,9.24)(-2.75,9.08)%
         (-3.00,8.91)(-3.25,8.72)(-3.50,8.53)(-3.75,8.31)%
         (-4.00,8.09)(-4.25,7.85)(-4.50,7.60)(-4.75,7.34)%
         (-5.00,7.07)(-5.25,6.79)(-5.50,6.49)(-5.75,6.19)%
         (-6.00,5.88)(-6.25,5.55)(-6.50,5.22)(-6.75,4.89)%
         (-7.00,4.54)(-7.25,4.19)(-7.50,3.83)(-7.75,3.46)%
         (-8.00,3.09)(-8.25,2.71)(-8.50,2.33)(-8.75,1.95)%
         (-9.00,1.56)(-9.25,1.17)(-9.50,0.78)(-9.75,0.39)%
         (-10.0,0.00)  
\end{picture}}} 
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Cosine segments, solid line
%                      cosa:  0    .. pi/2
%                      cosb: pi/2  .. pi
%                      cosc:  pi   .. 3pi/2
%                      cosd: 3pi/2 .. 2pi
% amplitude: 5mm !!!!
% total period: 40mm
% parameter: #1 x-coordinate (y-axis position)
%            #2 y-coordinate (x-axis position) 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
\newcommand{\cosah}[2]{\put(#1,#2){\begin{picture}(10,5)(0,0)
\drawline(0.00,5.0)(0.25,4.995)(0.50,4.985)(0.75,4.965)
         (1.00,4.94)(1.25,4.905)(1.50,4.86)(1.75,4.81)%
         (2.00,4.755)(2.25,4.69)(2.50,4.62)(2.75,4.54)%
         (3.00,4.455)(3.25,4.36)(3.50,4.265)(3.75,4.155)%
         (4.00,4.045)(4.25,3.925)(4.50,3.80)(4.75,3.67)%
         (5.00,3.535)(5.25,3.395)(5.50,3.245)(5.75,3.095)%
         (6.00,2.94)(6.25,2.775)(6.50,2.61)(6.75,2.445)%
         (7.00,2.27)(7.25,2.095)(7.50,1.915)(7.75,1.73)%
         (8.00,1.545)(8.25,1.355)(8.50,1.165)(8.75,0.975)%
         (9.00,0.78)(9.25,0.585)(9.50,0.39)(9.75,0.195)%
         (10.0,0.00)  
\end{picture}}} 
%
\newcommand{\cosbh}[2]{\put(#1,#2){\begin{picture}(10,5)(-10,0)
\drawline(-0.00,-5.0)(-0.25,-4.995)(-0.50,-4.985)(-0.75,-4.965)
         (-1.00,-4.94)(-1.25,-4.905)(-1.50,-4.86)(-1.75,-4.81)%
         (-2.00,-4.755)(-2.25,-4.69)(-2.50,-4.62)(-2.75,-4.54)%
         (-3.00,-4.455)(-3.25,-4.36)(-3.50,-4.265)(-3.75,-4.155)%
         (-4.00,-4.045)(-4.25,-3.925)(-4.50,-3.80)(-4.75,-3.67)%
         (-5.00,-3.535)(-5.25,-3.395)(-5.50,-3.245)(-5.75,-3.095)%
         (-6.00,-2.94)(-6.25,-2.775)(-6.50,-2.61)(-6.75,-2.445)%
         (-7.00,-2.27)(-7.25,-2.095)(-7.50,-1.915)(-7.75,-1.73)%
         (-8.00,-1.545)(-8.25,-1.355)(-8.50,-1.165)(-8.75,-0.975)%
         (-9.00,-0.78)(-9.25,-0.585)(-9.50,-0.39)(-9.75,-0.195)%
         (-10.0,-0.00)  
\end{picture}}} 
%
\newcommand{\cosch}[2]{\put(#1,#2){\begin{picture}(10,5)(0,0)
\drawline(0.00,-5.0)(0.25,-4.995)(0.50,-4.985)(0.75,-4.965)
         (1.00,-4.94)(1.25,-4.905)(1.50,-4.86)(1.75,-4.81)%
         (2.00,-4.755)(2.25,-4.69)(2.50,-4.62)(2.75,-4.54)%
         (3.00,-4.455)(3.25,-4.36)(3.50,-4.265)(3.75,-4.155)%
         (4.00,-4.045)(4.25,-3.925)(4.50,-3.80)(4.75,-3.67)%
         (5.00,-3.535)(5.25,-3.395)(5.50,-3.245)(5.75,-3.095)%
         (6.00,-2.94)(6.25,-2.775)(6.50,-2.61)(6.75,-2.445)%
         (7.00,-2.27)(7.25,-2.095)(7.50,-1.915)(7.75,-1.73)%
         (8.00,-1.545)(8.25,-1.355)(8.50,-1.165)(8.75,-0.975)%
         (9.00,-0.78)(9.25,-0.585)(9.50,-0.39)(9.75,-0.195)%
         (10.0,-0.00) 
\end{picture}}} 
%
\newcommand{\cosdh}[2]{\put(#1,#2){\begin{picture}(10,5)(-10,0)
\drawline(-0.00,5.0)(-0.25,4.995)(-0.50,4.985)(-0.75,4.965)
         (-1.00,4.94)(-1.25,4.905)(-1.50,4.86)(-1.75,4.81)%
         (-2.00,4.755)(-2.25,4.69)(-2.50,4.62)(-2.75,4.54)%
         (-3.00,4.455)(-3.25,4.36)(-3.50,4.265)(-3.75,4.155)%
         (-4.00,4.045)(-4.25,3.925)(-4.50,3.80)(-4.75,3.67)%
         (-5.00,3.535)(-5.25,3.395)(-5.50,3.245)(-5.75,3.095)%
         (-6.00,2.94)(-6.25,2.775)(-6.50,2.61)(-6.75,2.445)%
         (-7.00,2.27)(-7.25,2.095)(-7.50,1.915)(-7.75,1.73)%
         (-8.00,1.545)(-8.25,1.355)(-8.50,1.165)(-8.75,0.975)%
         (-9.00,0.78)(-9.25,0.585)(-9.50,0.39)(-9.75,0.195)%
         (-10.0,0.00) 
\end{picture}}} 
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Cosine segments, dotted line
%                      cosdla:  0    .. pi/2
%                      cosdlb: pi/2  .. pi
%                      cosdlc:  pi   .. 3pi/2
%                      cosdld: 3pi/2 .. 2pi
% amplitude: 10mm
% total period: 40mm
% parameter: #1 x-coordinate (y-axis position)
%            #2 y-coordinate (x-axis position)
%            #3 diameter of dots 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
\newcommand{\cosdla}[3]{\put(#1,#2){\begin{picture}(10,10)(0,0)
         \put(0.00,10.0){\circle*{#3}} %\put(0.25,9.99){\circle*{#3}}
                                       %\put(0.50,9.97){\circle*{#3}} 
         \put(0.75,9.93){\circle*{#3}} %\put(1.00,9.88){\circle*{#3}} 
                                       %\put(1.25,9.81){\circle*{#3}}
         \put(1.50,9.72){\circle*{#3}} %\put(1.75,9.62){\circle*{#3}}
                                       %\put(2.00,9.51){\circle*{#3}} 
         \put(2.25,9.38){\circle*{#3}} %\put(2.50,9.24){\circle*{#3}} 
                                       %\put(2.75,9.08){\circle*{#3}} 
         \put(3.00,8.91){\circle*{#3}} %put(3.25,8.72){\circle*{#3}} 
         \put(3.50,8.53){\circle*{#3}} %\put(3.75,8.31){\circle*{#3}} 
         \put(4.00,8.09){\circle*{#3}} %\put(4.25,7.85){\circle*{#3}}
         \put(4.50,7.60){\circle*{#3}} %\put(4.75,7.34){\circle*{#3}}
         \put(5.00,7.07){\circle*{#3}} %\put(5.25,6.79){\circle*{#3}}
         \put(5.50,6.49){\circle*{#3}} %\put(5.75,6.19){\circle*{#3}}
         \put(6.00,5.88){\circle*{#3}} %\put(6.25,5.55){\circle*{#3}}
         \put(6.50,5.22){\circle*{#3}} %\put(6.75,4.89){\circle*{#3}}
         \put(7.00,4.54){\circle*{#3}} %\put(7.25,4.19){\circle*{#3}}
         \put(7.50,3.83){\circle*{#3}} %\put(7.75,3.46){\circle*{#3}}
         \put(8.00,3.09){\circle*{#3}} %\put(8.25,2.71){\circle*{#3}}
         \put(8.50,2.33){\circle*{#3}} %\put(8.75,1.95){\circle*{#3}}
         \put(9.00,1.56){\circle*{#3}} %\put(9.25,1.17){\circle*{#3}}
         \put(9.50,0.78){\circle*{#3}} %\put(9.75,0.39){\circle*{#3}}
         \put(10.0,0.00){\circle*{#3}}  
\end{picture}}} 
%
\newcommand{\cosdlb}[3]{\put(#1,#2){\begin{picture}(10,10)(-10,0)
         \put(-0.00,-10.0){\circle*{#3}} %\put(-0.25,-9.99){\circle*{#3}}
                                         %\put(-0.50,-9.97){\circle*{#3}} 
         \put(-0.75,-9.93){\circle*{#3}} %\put(-1.00,-9.88){\circle*{#3}} 
                                         %\put(-1.25,-9.81){\circle*{#3}}
         \put(-1.50,-9.72){\circle*{#3}} %\put(-1.75,-9.62){\circle*{#3}}
                                         %\put(-2.00,-9.51){\circle*{#3}} 
         \put(-2.25,-9.38){\circle*{#3}} %\put(-2.50,-9.24){\circle*{#3}} 
                                         %\put(-2.75,-9.08){\circle*{#3}}
         \put(-3.00,-8.91){\circle*{#3}} %\put(-3.25,-8.72){\circle*{#3}}
         \put(-3.50,-8.53){\circle*{#3}} %\put(-3.75,-8.31){\circle*{#3}}
         \put(-4.00,-8.09){\circle*{#3}} %\put(-4.25,-7.85){\circle*{#3}}
         \put(-4.50,-7.60){\circle*{#3}} %\put(-4.75,-7.34){\circle*{#3}}
         \put(-5.00,-7.07){\circle*{#3}} %\put(-5.25,-6.79){\circle*{#3}}
         \put(-5.50,-6.49){\circle*{#3}} %\put(-5.75,-6.19){\circle*{#3}}
         \put(-6.00,-5.88){\circle*{#3}} %\put(-6.25,-5.55){\circle*{#3}}
         \put(-6.50,-5.22){\circle*{#3}} %\put(-6.75,-4.89){\circle*{#3}}
         \put(-7.00,-4.54){\circle*{#3}} %\put(-7.25,-4.19){\circle*{#3}} 
         \put(-7.50,-3.83){\circle*{#3}} %\put(-7.75,-3.46){\circle*{#3}}
         \put(-8.00,-3.09){\circle*{#3}} %\put(-8.25,-2.71){\circle*{#3}}
         \put(-8.50,-2.33){\circle*{#3}} %\put(-8.75,-1.95){\circle*{#3}} 
         \put(-9.00,-1.56){\circle*{#3}} %\put(-9.25,-1.17){\circle*{#3}}
         \put(-9.50,-0.78){\circle*{#3}} %\put(-9.75,-0.39){\circle*{#3}}
         \put(-10.0,-0.00){\circle*{#3}}  
\end{picture}}} 
%
\newcommand{\cosdlc}[3]{\put(#1,#2){\begin{picture}(10,10)(0,0)
         \put(0.00,-10.0){\circle*{#3}} %\put(0.25,-9.99){\circle*{#3}}
                                        %\put(0.50,-9.97){\circle*{#3}}
         \put(0.75,-9.93){\circle*{#3}} %\put(1.00,-9.88){\circle*{#3}}
                                        %\put(1.25,-9.81){\circle*{#3}}
         \put(1.50,-9.72){\circle*{#3}} %\put(1.75,-9.62){\circle*{#3}}
                                        %\put(2.00,-9.51){\circle*{#3}}
         \put(2.25,-9.38){\circle*{#3}} %\put(2.50,-9.24){\circle*{#3}}
                                        %\put(2.75,-9.08){\circle*{#3}}
         \put(3.00,-8.91){\circle*{#3}} %\put(3.25,-8.72){\circle*{#3}}
         \put(3.50,-8.53){\circle*{#3}} %\put(3.75,-8.31){\circle*{#3}}
         \put(4.00,-8.09){\circle*{#3}} %\put(4.25,-7.85){\circle*{#3}}
         \put(4.50,-7.60){\circle*{#3}} %\put(4.75,-7.34){\circle*{#3}}
         \put(5.00,-7.07){\circle*{#3}} %\put(5.25,-6.79){\circle*{#3}}
         \put(5.50,-6.49){\circle*{#3}} %\put(5.75,-6.19){\circle*{#3}}
         \put(6.00,-5.88){\circle*{#3}} %\put(6.25,-5.55){\circle*{#3}}
         \put(6.50,-5.22){\circle*{#3}} %\put(6.75,-4.89){\circle*{#3}}
         \put(7.00,-4.54){\circle*{#3}} %\put(7.25,-4.19){\circle*{#3}}
         \put(7.50,-3.83){\circle*{#3}} %\put(7.75,-3.46){\circle*{#3}}
         \put(8.00,-3.09){\circle*{#3}} %\put(8.25,-2.71){\circle*{#3}}
         \put(8.50,-2.33){\circle*{#3}} %\put(8.75,-1.95){\circle*{#3}}
         \put(9.00,-1.56){\circle*{#3}} %\put(9.25,-1.17){\circle*{#3}}
         \put(9.50,-0.78){\circle*{#3}} %\put(9.75,-0.39){\circle*{#3}}
         \put(10.0,-0.00){\circle*{#3}}  
\end{picture}}} 
%
\newcommand{\cosdld}[3]{\put(#1,#2){\begin{picture}(10,10)(-10,0)
         \put(-0.00,10.0){\circle*{#3}} %\put(-0.25,9.99){\circle*{#3}}
                                        %\put(-0.50,9.97){\circle*{#3}}
         \put(-0.75,9.93){\circle*{#3}} %\put(-1.00,9.88){\circle*{#3}}
                                        %\put(-1.25,9.81){\circle*{#3}}
         \put(-1.50,9.72){\circle*{#3}} %\put(-1.75,9.62){\circle*{#3}}
                                        %\put(-2.00,9.51){\circle*{#3}}
         \put(-2.25,9.38){\circle*{#3}} %\put(-2.50,9.24){\circle*{#3}}
                                        %\put(-2.75,9.08){\circle*{#3}}
         \put(-3.00,8.91){\circle*{#3}} %\put(-3.25,8.72){\circle*{#3}}
         \put(-3.50,8.53){\circle*{#3}} %\put(-3.75,8.31){\circle*{#3}}
         \put(-4.00,8.09){\circle*{#3}} %\put(-4.25,7.85){\circle*{#3}}
         \put(-4.50,7.60){\circle*{#3}} %\put(-4.75,7.34){\circle*{#3}}
         \put(-5.00,7.07){\circle*{#3}} %\put(-5.25,6.79){\circle*{#3}}
         \put(-5.50,6.49){\circle*{#3}} %\put(-5.75,6.19){\circle*{#3}}
         \put(-6.00,5.88){\circle*{#3}} %\put(-6.25,5.55){\circle*{#3}}
         \put(-6.50,5.22){\circle*{#3}} %\put(-6.75,4.89){\circle*{#3}}
         \put(-7.00,4.54){\circle*{#3}} %\put(-7.25,4.19){\circle*{#3}}
         \put(-7.50,3.83){\circle*{#3}} %\put(-7.75,3.46){\circle*{#3}}
         \put(-8.00,3.09){\circle*{#3}} %\put(-8.25,2.71){\circle*{#3}}
         \put(-8.50,2.33){\circle*{#3}} %\put(-8.75,1.95){\circle*{#3}}
         \put(-9.00,1.56){\circle*{#3}} %\put(-9.25,1.17){\circle*{#3}}
         \put(-9.50,0.78){\circle*{#3}} %\put(-9.75,0.39){\circle*{#3}}
         \put(-10.0,0.00){\circle*{#3}} 
\end{picture}}} 
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Cosine segments:     cosab:   0 .. pi
%                      coscd:  pi .. 2pi
%                      cosabcd: 0 .. 2pi
% amplitude: 10mm
% total period: 40mm
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\cosab}[2]{\put(#1,#2){\begin{picture}(20,10)(0,0)
  \cosa{0}{0} \cosb{10}{0}
  \end{picture}}} 
%
\newcommand{\coscd}[2]{\put(#1,#2){\begin{picture}(20,10)(0,0)
  \cosc{0}{0} \cosd{10}{0}
  \end{picture}}} 
%
\newcommand{\cosabcd}[2]{\put(#1,#2){\begin{picture}(40,20)(0,0)
  \cosa{0}{10} \cosb{10}{10} \cosc{20}{10} \cosd{30}{10}
  \end{picture}}}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \rcosu, \rcosd
% raised cosine with roll off factor r=1:     
% amplitude: 20mm
% total period: 40mm
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\rcosu}[2]{\put(#1,#2){\begin{picture}(40,20)(20,0)
  \cosc{0}{10} \cosd{10}{10} \cosa{20}{10} \cosb{30}{10}
  \end{picture}}}
%
\newcommand{\rcosd}[2]{\put(#1,#2){\begin{picture}(40,20)(20,20)
  \cosa{0}{10} \cosb{10}{10} \cosc{20}{10} \cosd{30}{10}
  \end{picture}}}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% specline
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Spektrallinie
% Parameter 1: x-Koordinate des Fu"spunktes
% Parameter 2: y-Koordinate des Fu"spunktes
% Parameter 3: H"ohe der Spektrallinie in mm
\newcommand{\specline}[3]{\put(#1,#2){\begin{picture}(2,#3)(1,0)
        \put(1,0){\line(0,1){#3}}
        \put(0,#3){\line(1,0){2}}
        \end{picture}}} 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% sampleline
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Abtastung
% Parameter 1: x-Koordinate des Fu"spunktes
% Parameter 2: y-Koordinate des Fu"spunktes
% Parameter 3: H"ohe des Abtastwertes in mm
\newcommand{\sampleline}[3]{\put(#1,#2){\line(0,1){#3}}
                            \put(#1,#2){\dot{0}{#3}}
                           } 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \pathsingle
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\pathsingle}[4]{\put(#1,#2){\begin{picture}(100,12.5)
\vcr{0}{0}{10} \picmult{12.5}{0} 
\vcu{12.5}{-7.5}{5} \txtl{14}{-7.5}{#3} 
\vcr{15}{0}{15}
\put(30,-5){\framebox(20,10){Integrator}} \vcr{50}{0}{10} 
\put(60,-5){\framebox(24,10){Entscheider}} \vcr{84}{0}{10} \txtl{96}{0}{#4}   
                                \end{picture}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \pathdouble
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\pathdouble}[5]{\put(#1,#2){\begin{picture}(110,24)(0,6)
\multiput(0,0)(0,12){2}{\vcr{0}{0}{10} \picmult{12.5}{0} 
                        \vcr{15}{0}{15} 
                        \put(30,-4){\framebox(20,8){Integrator}}
                        \lnr{50}{0}{10}
}
\vcu{12.5}{-7.5}{5} \txtl{14}{-7.5}{#3}
\vcd{12.5}{19.5}{5} \txtl{14}{19.5}{#4}
\lnd{60}{12}{3} \lnr{60}{9}{5} 
\lnu{60}{0}{3}  \lnr{60}{3}{5}
\put(65,1){\framebox(24,10){Entscheider}} \vcr{89}{6}{10} \txtl{101}{6}{#5} 
                                \end{picture}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Boxes 8mm x 8mm
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \cxreim 8 x 8mm 
% splitting a complex signal into real and imaginary part 
% (Bezugspunkt, links Mitte)
% Parameter 1: x-Koordinate des Bezugspunktes
% Parameter 2: y-Koordinate des Bezugspunktes
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\cxreim}[2]{\put(#1,#2){\begin{picture}(8,8)(0,4)
	\multiput(0,0)(0,8){2}{\line(1,0){8}} 
        \multiput(0,0)(8,0){2}{\line(0,1){8}}
        {\thinlines \put(3,4){\line(-3,4){3}} 
                    \put(3,4){\line(-3,-4){3}}
                    \put(3,4){\line(1,0){5}}  
        }
	\put(3.5,5){\scriptsize Re} \put(3.5,1){\scriptsize Im}
\end{picture}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \reimcx 8 x 8mm 
% splitting a complex signal into real and imaginary part 
% (Bezugspunkt, links Mitte)
% Parameter 1: x-Koordinate des Bezugspunktes
% Parameter 2: y-Koordinate des Bezugspunktes
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\reimcx}[2]{\put(#1,#2){\begin{picture}(8,8)(0,4)
	\multiput(0,0)(0,8){2}{\line(1,0){8}} 
        \multiput(0,0)(8,0){2}{\line(0,1){8}}
        {\thinlines \put(5,4){\line(3,4){3}} 
                    \put(5,4){\line(3,-4){3}}
                    \put(5,4){\line(-1,0){5}}  
        }
	\put(1,5){\scriptsize Re} \put(1,1){\scriptsize Im}
\end{picture}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \upsample 
% upsampling, by a given factor,  box 8 x 8mm
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\upsample}[3]{\put(#1,#2){\begin{picture}(8,8)(0,4)
	\multiput(0,0)(0,8){2}{\line(1,0){8}} 
        \multiput(0,0)(8,0){2}{\line(0,1){8}}
        \vcu{4.5}{1}{6} \txtr{3.5}{4}{$\ssty #3$}
        \end{picture}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \downsample 
% downsampling, by a given factor,  box 8 x 8mm
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\downsample}[3]{\put(#1,#2){\begin{picture}(8,8)(0,4)
	\multiput(0,0)(0,8){2}{\line(1,0){8}} 
        \multiput(0,0)(8,0){2}{\line(0,1){8}}
        \vcd{4.5}{7}{6} \txtr{3.5}{4}{$\ssty #3$}
        \end{picture}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \adclr 
% A/D converter oriented from left to right,  box 10 x 8mm
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\adclr}[2]{\put(#1,#2){\begin{picture}(8,8)(0,4)
	\multiput(0,0)(0,8){2}{\line(1,0){8}}
        \put(0,0){\line(0,1){8}} 
        \put(10,4){\line(-1,2){2}} \put(10,4){\line(-1,-2){2}} 
        \txtl{1}{4}{\small ADC}
        \end{picture}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \adcrl 
% A/D converter oriented from right to left,  box 10 x 8mm
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\adcrl}[2]{\put(#1,#2){\begin{picture}(8,8)(10,4)
	\multiput(10,0)(0,8){2}{\line(-1,0){8}}
        \put(10,0){\line(0,1){8}} 
        \put(0,4){\line(1,2){2}} \put(0,4){\line(1,-2){2}} 
        \txtr{9}{4}{\small ADC}
        \end{picture}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \daclr 
% D/A converter oriented from left to right,  box 10 x 8mm
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\daclr}[2]{\put(#1,#2){\begin{picture}(8,8)(0,4)
	\multiput(0,0)(0,8){2}{\line(1,0){8}}
        \put(0,0){\line(0,1){8}} 
        \put(10,4){\line(-1,2){2}} \put(10,4){\line(-1,-2){2}} 
        \txtl{1}{4}{\small DAC}
        \end{picture}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \dacrl 
% D/A converter oriented from right to left,  box 10 x 8mm
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\dacrl}[2]{\put(#1,#2){\begin{picture}(8,8)(10,4)
	\multiput(10,0)(0,8){2}{\line(-1,0){8}}
        \put(10,0){\line(0,1){8}} 
        \put(0,4){\line(1,2){2}} \put(0,4){\line(1,-2){2}} 
        \txtr{9}{4}{\small DAC}
        \end{picture}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Small Boxes  (10 mm x 10 mm)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \ebox 
% empty box 10 x 10mm
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\ebox}[2]{\put(#1,#2){\begin{picture}(10,10)(0,5)
	\multiput(0,0)(0,10){2}{\line(1,0){10}} 
        \multiput(0,0)(10,0){2}{\line(0,1){10}}
\end{picture}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \dac 10 x 10mm 
% D/A Converter (Bezugspunkt, links Mitte)
% Parameter 1: x-Koordinate des Bezugspunktes
% Parameter 2: y-Koordinate des Bezugspunktes
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\dac}[2]{\put(#1,#2){\begin{picture}(10,10)(0,5)
        \multiput(0,0)(0,10){2}{\line(1,0){10}} 
        \multiput(0,0)(10,0){2}{\line(0,1){10}}
        {\thinlines \put(0,0){\line(1,1){10}} }
	\put(2,6){\scriptsize D} \put(6,2.5){\scriptsize A}
\end{picture}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \adc 10 x 10mm 
% A/D Converter (Bezugspunkt, links Mitte)
% Parameter 1: x-Koordinate des Bezugspunktes
% Parameter 2: y-Koordinate des Bezugspunktes
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\adc}[2]{\put(#1,#2){\begin{picture}(10,10)(0,5)
	\multiput(0,0)(0,10){2}{\line(1,0){10}} 
        \multiput(0,0)(10,0){2}{\line(0,1){10}}
        {\thinlines \put(0,0){\line(1,1){10}} }
	\put(2,6){\scriptsize A} \put(6,2.5){\scriptsize D}
\end{picture}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \lpf 
% low pass filter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\lpf}[2]{\put(#1,#2){\begin{picture}(10,10)(0,5)
        \multiput(0,0)(0,10){2}{\line(1,0){10}} 
        \multiput(0,0)(10,0){2}{\line(0,1){10}}
	\put(3.5,1){$\sim$} 
	\put(3.5,3){$\sim$} 
        {\thinlines \put(4.9,4){\qbezier(-1.2,-1)(0,0)(1.2,1)} }   
	\put(2,7){\scriptsize LPF}
\end{picture}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \hpf 
% high pass filter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\hpf}[2]{\put(#1,#2){\begin{picture}(10,10)(0,5)
        \multiput(0,0)(0,10){2}{\line(1,0){10}} 
        \multiput(0,0)(10,0){2}{\line(0,1){10}}
        \put(3.5,2.5){$\sim$} 
	\put(3.5,4.5){$\sim$} 
        {\thinlines \put(4.9,3.5){\qbezier(-1.2,-1)(0,0)(1.2,1)} }   
	\put(2,7){\scriptsize HPF}
\end{picture}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \bpf 
% band pass filter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\bpf}[2]{\put(#1,#2){\begin{picture}(10,10)(0,5)
	\multiput(0,0)(0,10){2}{\line(1,0){10}} 
        \multiput(0,0)(10,0){2}{\line(0,1){10}}
\put(3.5,0.5){$\sim$} {\thinlines \put(4.9,1.5){\qbezier(-1.2,-1)(0,0)(1.2,1)}}
        \put(3.5,2.5){$\sim$} 
\put(3.5,4.5){$\sim$} {\thinlines \put(4.9,5.5){\qbezier(-1.2,-1)(0,0)(1.2,1)}}
	\put(2,7){\scriptsize BPF }
\end{picture}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \losc 
% local oscillator, box 10 x 10mm
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\losc}[2]{\put(#1,#2){\begin{picture}(10,10)(0,5)
	\multiput(0,0)(0,10){2}{\line(1,0){10}} 
        \multiput(0,0)(10,0){2}{\line(0,1){10}}
        \put(5,7){\makebox(0,0)[b]{\scriptsize LO}}
        \put(5,3.5){\circle{4.5}} \put(5,3.5){\makebox(0,0){$\sim$}} 
\end{picture}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \ppih 
% phase shift +pi/2,  box 10 x 10mm
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\ppih}[2]{\put(#1,#2){\begin{picture}(10,10)(0,5)
	\multiput(0,0)(0,10){2}{\line(1,0){10}} 
        \multiput(0,0)(10,0){2}{\line(0,1){10}}
        \put(5,5){\makebox(0,0){$+90^\circ$}}
        \end{picture}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \mpih 
% phase shift -pi/2,  box 10 x 10mm
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\mpih}[2]{\put(#1,#2){\begin{picture}(10,10)(0,5)
	\multiput(0,0)(0,10){2}{\line(1,0){10}} 
        \multiput(0,0)(10,0){2}{\line(0,1){10}}
        \put(5,5){\makebox(0,0){$-90^\circ$}}
        \end{picture}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \phnz 10 x 10mm 
% phase splitter 90°/0° (Bezugspunkt, links Mitte)
% Parameter 1: x-Koordinate des Bezugspunktes
% Parameter 2: y-Koordinate des Bezugspunktes
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\phnz}[2]{\put(#1,#2){\begin{picture}(10,10)(0,5)
        \multiput(0,0)(0,10){2}{\line(1,0){10}} 
        \multiput(0,0)(10,0){2}{\line(0,1){10}}
        {\thinlines \put(0,10){\line(1,-1){10}} }
	\put(2,1.5){$\ssty 0^{\circ}$} \put(5,6.5){$\ssty 90^{\circ}$}
\end{picture}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \phzn 10 x 10mm 
% phase splitter 0°/90° (Bezugspunkt, links Mitte)
% Parameter 1: x-Koordinate des Bezugspunktes
% Parameter 2: y-Koordinate des Bezugspunktes
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\phzn}[2]{\put(#1,#2){\begin{picture}(10,10)(0,5)
        \multiput(0,0)(0,10){2}{\line(1,0){10}} 
        \multiput(0,0)(10,0){2}{\line(0,1){10}}
        {\thinlines \put(0,10){\line(1,-1){10}} }
	\put(1.5,1.5){$\ssty 90^{\circ}$} \put(6,6.5){$\ssty 0^{\circ}$}
\end{picture}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \intts 
% integration over Ts, box 10 x 10mm
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\intts}[2]{\put(#1,#2){\begin{picture}(10,10)(0,5)
	\multiput(0,0)(0,10){2}{\line(1,0){10}} 
        \multiput(0,0)(10,0){2}{\line(0,1){10}}
        \put(5,5){\makebox(0,0){$\dsty \int_{T_s}$}}
        \end{picture}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \inttb 
% integration over Tb, box 10 x 10mm
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\inttb}[2]{\put(#1,#2){\begin{picture}(10,10)(0,5)
	\multiput(0,0)(0,10){2}{\line(1,0){10}} 
        \multiput(0,0)(10,0){2}{\line(0,1){10}}
        \put(5,5){\makebox(0,0){$\dsty \int_{T_b}$}}
        \end{picture}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \intt 
% integration over T, box 10 x 10mm
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\intt}[2]{\put(#1,#2){\begin{picture}(10,10)(0,5)
	\multiput(0,0)(0,10){2}{\line(1,0){10}} 
        \multiput(0,0)(10,0){2}{\line(0,1){10}}
        \put(5,5){\makebox(0,0){$\dsty \int_{T}$}}
        \end{picture}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \sqr 
% squaring circuit, box 10 x 10mm
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\sqr}[2]{\put(#1,#2){\begin{picture}(10,10)(0,5)
	\multiput(0,0)(0,10){2}{\line(1,0){10}} 
        \multiput(0,0)(10,0){2}{\line(0,1){10}}
        \put(5,5){\makebox(0,0){$(\;\cdot\;)^2$}}
        \end{picture}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \samplelu 
% sample left up, box 10 x 10mm
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\samplelu}[2]{\put(#1,#2){\begin{picture}(10,10)(0,5)
	\multiput(0,0)(0,10){2}{\line(1,0){10}} 
        \multiput(0,0)(10,0){2}{\line(0,1){10}}
        \dot{8}{5} \lnr{8}{5}{2} \lnr{0}{5}{2} \lnu{2}{5}{1} 
        \put(8,5){\line(-2,1){6.5}}
        \end{picture}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \sampleru 
% sample right up, box 10 x 10mm
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\sampleru}[2]{\put(#1,#2){\begin{picture}(10,10)(0,5)
	\multiput(0,0)(0,10){2}{\line(1,0){10}} 
        \multiput(0,0)(10,0){2}{\line(0,1){10}}
        \dot{2}{5} \lnr{0}{5}{2} \lnr{8}{5}{2} \lnu{8}{5}{1} 
        \put(2,5){\line(2,1){6.5}}
        \end{picture}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \decisionb    
% decision binary, box 10 x 10mm
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\decisionb}[2]{\put(#1,#2){\begin{picture}(10,10)(0,5)
	\multiput(0,0)(0,10){2}{\line(1,0){10}} 
        \multiput(0,0)(10,0){2}{\line(0,1){10}}
        \thinlines 
        \put(1,5){\line(1,0){8}} \put(5,1){\line(0,1){8}}
        \thicklines
        \put(5,8){\line(1,0){3.5}} \put(5,2){\line(-1,0){3.5}} 
        \put(5,2){\line(0,1){6}} 
        \end{picture}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \decisionbe    
% decision binary +-1, box 10 x 10mm
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\decisionbe}[2]{\put(#1,#2){\begin{picture}(10,10)(0,5)
	\multiput(0,0)(0,10){2}{\line(1,0){10}} 
        \multiput(0,0)(10,0){2}{\line(0,1){10}}
        \thinlines 
        \put(1,5){\line(1,0){8}} \put(5,1){\line(0,1){8}}
        \thicklines
        \put(5,8){\line(1,0){3.5}} \put(5,2){\line(-1,0){3.5}} 
        \put(5,2){\line(0,1){6}}
        \txtr{4}{8}{$\sssty 1$} \txtl{6}{2}{$\sssty -1$} 
        \end{picture}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \amp 
% amplifier,  triangle 10 x 10mm, right oriented
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\amp}[3]{\put(#1,#2){\begin{picture}(10,10)(0,5)
        \put(0,0){\line(0,1){10}}
        \put(10,5){\line(-2,1){10}}
        \put(10,5){\line(-2,-1){10}}
        \put(3.5,5){\makebox(0,0){$#3$}}
        \end{picture}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \ampl 
% amplifier,  triangle 10 x 10mm, left oriented
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\ampl}[3]{\put(#1,#2){\begin{picture}(10,10)(10,5)
        \put(10,0){\line(0,1){10}}
        \put(0,5){\line(2,1){10}}
        \put(0,5){\line(2,-1){10}}
        \put(6.5,5){\makebox(0,0){$#3$}}
        \end{picture}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \ampe 
% amplifier,  triangle 10 x 10mm, right oriented
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\ampe}[2]{\put(#1,#2){\begin{picture}(10,10)(0,5)
        \put(0,0){\line(0,1){10}}
        \put(10,5){\line(-2,1){10}}
        \put(10,5){\line(-2,-1){10}}
        \end{picture}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \ampel 
% amplifier,  triangle 10 x 10mm, left oriented
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\ampel}[2]{\put(#1,#2){\begin{picture}(10,10)(10,5)
        \put(10,0){\line(0,1){10}}
        \put(0,5){\line(2,1){10}}
        \put(0,5){\line(2,-1){10}}
        \end{picture}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Big Boxes  (18 mm x 18 mm)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \boxbp
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% ideal bandpass, reference point: left center 
% parameter: {x}{y}{center frequency}
% size: x: 18mm, y: 18mm
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\boxbp}[3]{\put(#1,#2){\begin{picture}(18,18)(0,9)
\multiput(0,0)(18,0){2}{\lnu{0}{0}{18}}
\multiput(0,0)(0,18){2}{\lnr{0}{0}{18}}
\lnr{2}{5}{14} \lnu{9}{4}{2}
\put(4,5){\line(1,5){2}} \put(14,5){\line(-1,5){2}} \lnr{6}{15}{6}
\txtt{9}{3.5}{$\ssty #3$}
\end{picture}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \boxlp
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% low pass, reference point: left center 
% parameter: {x}{y}{cut off frequency}
% size: x: 18mm, y: 18mm
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\boxlp}[3]{\put(#1,#2){\begin{picture}(18,18)(0,9)
\multiput(0,0)(18,0){2}{\lnu{0}{0}{18}}
\multiput(0,0)(0,18){2}{\lnr{0}{0}{18}}
\lnr{2}{5}{14} 
\lnu{3}{5}{11} \lnr{3}{15}{9} \put(12,15){\line(1,-5){2}}
\txtt{14}{4}{$\ssty #3$}
\end{picture}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \boxint
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% integrate over one symbol interval, reference point: left center 
% parameter: {x}{y}{integration interval}
% size: x: 18mm, y: 18mm
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\boxint}[3]{\put(#1,#2){\begin{picture}(18,18)(0,9)
\multiput(0,0)(18,0){2}{\lnu{0}{0}{18}}
\multiput(0,0)(0,18){2}{\lnr{0}{0}{18}}
\txtl{2}{9}{$\dsty  \int\limits_{k #3}^{(k+1)#3} \!\!\!\!\!\! dt$}
\end{picture}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%




