fix averaging bug in transmission line calc
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>pull/51/head
parent
8908489c1f
commit
e2d31ecf5d
|
@ -91,7 +91,7 @@ end
|
||||||
|
|
||||||
if ((strcmpi(port.type,'StripLine')==1) || (strcmpi(port.type,'CPW')==1))
|
if ((strcmpi(port.type,'StripLine')==1) || (strcmpi(port.type,'CPW')==1))
|
||||||
U1 = ReadUI( port.U_filename(:,1), SimDir, f, UI_args{:} );
|
U1 = ReadUI( port.U_filename(:,1), SimDir, f, UI_args{:} );
|
||||||
U2 = ReadUI( port.U_filename(:,1), SimDir, f, UI_args{:} );
|
U2 = ReadUI( port.U_filename(:,2), SimDir, f, UI_args{:} );
|
||||||
U = U1;
|
U = U1;
|
||||||
for n=1:3
|
for n=1:3
|
||||||
U.TD{n}.val = U1.TD{n}.val+U2.TD{n}.val;
|
U.TD{n}.val = U1.TD{n}.val+U2.TD{n}.val;
|
||||||
|
|
Loading…
Reference in New Issue