function rpdbi = rpv(ant,freq)
% rpdbi = rpv(ant,freq)
% Vertical radiation diagram
%
% ant  :  antenna description.  There are three options:
%         MATLAB expression  :   description in ADL
%         sring :   file with description in NEC-syntax
%         {string; p} : string = file with description in AAL-syntax; 
%                       p = antenna parameters
%
% freq :  frequency in MHz, in case of a column vector the diagrams will be 
%         drawn for all frequncies in different figures, in case of a row 
%         vector all in one figure. A matrix is possible too.
%
% rpdbi : radiation pattern over isotropic radiator (dB) in steps of 2 degrees 
%         (181 values starting at -180 and ending at +180)
%
% rpv erzeugt eine Inputdatei ant_temp.dat fr NEC2, ruft NEC2 auf 
% und sucht in der Ausgabetextdatei ant_temp.txt von NEC2 nach dem 
% Richtdiagramm.
%
% Erfolgt eine Zuweisung von rp an eine Variable, so wird kein Bild gezeichnet. 
% Andernfalls wird das Vertikaldiagramm grafisch dargestellt.
%
% Der Pfad zu den NEC2-Programmen  NEC2D.exe, NEC2D512.exe, ...  muss 
% in der  autoexec.bat  angegeben sein.
