tutorials: some fixes

Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
pull/10/head
Thorsten Liebig 2013-08-16 22:01:31 +02:00
parent e27e4057e1
commit c713f208c0
2 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@ p(1,end+1) = horn.radius; % x-coord point 1
p(2,end) = 0; % z-coord point 1 p(2,end) = 0; % z-coord point 1
p(1,end+1) = horn.radius; % x-coord point 1 p(1,end+1) = horn.radius; % x-coord point 1
p(2,end) = -horn.feed_length; % z-coord point 1 p(2,end) = -horn.feed_length; % z-coord point 1
CSX = AddRotPoly(CSX,'Conical_Horn',10,0,2,p); CSX = AddRotPoly(CSX,'Conical_Horn',10,'x',p,'z');
% horn aperture % horn aperture
A = pi*((horn.radius + sin(horn.angle)*horn.length)*unit)^2; A = pi*((horn.radius + sin(horn.angle)*horn.length)*unit)^2;

View File

@ -134,7 +134,7 @@ port = calcPort(port, Sim_Path, freq);
Zin = port.uf.tot ./ port.if.tot; Zin = port.uf.tot ./ port.if.tot;
s11 = port.uf.ref ./ port.uf.inc; s11 = port.uf.ref ./ port.uf.inc;
P_in = 0.5 * port.uf.inc .* conj( port.if.inc ); % antenna feed power P_in = 0.5*real(port.uf.tot).*conj(port.if.tot); % accepted antenna feed power
% plot feed point impedance % plot feed point impedance
figure figure