%
%
%A:  MADL-Datenstruktur %<'FontWeight',MSVTITLWEIGHT,'FontSize',MSVTITLSIZE,'Color',MSVTITLCOLOR>
%
%
%
% Matlab-Datenstruktur
% --------------------------
%
%% Run nicht klicken! Dies ist kein Programm, nur eine Beschreibung:
                        %  Beispiel                Zweck                                        
antenna.st{index}.typ     'GW'                  %  Beschreibungselement (entspricht GW-Card)    
                 .pos     [x1 y1 z1; x2 y2 z2]  %  Matrix von xyz-Positionen                    
                 .dia     0.003                 %  Drahtdurchmesser                             
                 .nsg     7                     %  Anzahl der Segmente                          
                 .par     [...]                 %  optionale Parameter                          

       .ex{exi}  .sti     3                     %  Index in antenna.st                           
                 .seg     4                     %  Segmentnummer zur Speisung                   
                 .cst     a*exp(i*phi)          %  Phasendrehung fest zur Struktur gehrend (Kabel)
                 .ctp     b*exp(i*psi)          %  aktuelle zustzliche Phasendrehung           

       .tl{tli}  .pos     [x1 y1 z1; x2 y2 z2]  %  Matrix von xyz-Positionen                    
                 .par     [...]                 %  Parameter z,... der TL-Card                  
%
%
%
%
% \bfBeispiele:
%
% Draht ohne Speisung:   {\fontname{Courier}ant.ex}  ist leer.
%
ant = wire([1 2 3],[4 5 6],0.01,7)
st  = ant.st
ex  = ant.ex
pos = ant.st(1).pos                % 2*3-Matrix mit 2 Endpunkten
%
% Draht mit Speisung:
%
ant = wire([1 2 3],[4 5 6],0.01,7,1)
st  = ant.st
ex  = ant.ex
pos = ant.st(1).pos
%
% {\fontname{Courier}ant.ex[k].sti}  verweist auf den zugehrigen Eintrag in  {\fontname{Courier}ant.st} .  Der zum Index  {\fontname{Courier}k}  
% der Liste  {\fontname{Courier}ant.ex}  gehrige Eintrag in  {\fontname{Courier}ant.st}  ist also  {\fontname{Courier}ant.st( ant.ex[k].sti )} .  
% Ein Beispiel ist die Yagi-Antenne:
%
y7   = yagi7
yst  = y7.st
yex  = y7.ex
ypos = y7.st(1).pos
%
% Die Position des gespeisten Dipols ist 
%
dpos = y7.st( y7.ex{1}.sti ).pos
%
%
%