examples: inverted f-antenna, fix in accepted antenna power

Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
This commit is contained in:
Thorsten Liebig 2013-08-23 17:19:46 +02:00
parent 72084fc662
commit 84e9e78643

View File

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