File: a_T.m

package info (click to toggle)
openems 0.0.35%2Bgit20190103.6a75e98%2Bdfsg.1-3.2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 8,544 kB
  • sloc: cpp: 40,417; python: 2,028; yacc: 580; makefile: 459; lex: 350; sh: 176; ruby: 19
file content (14 lines) | stat: -rw-r--r-- 295 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
function a = a_T(Z1,Z2,Z3)
% a = a_T(Z1,Z2,Z3)
%
% calculate the ABCD matrix from a T-circuit
%
% Reference: David M. Pozar "Microwave Engineering"
%
% Thorsten Liebig <thorsten.liebig@gmx.de>
% Feb. 2013

a(1,1,:) = 1+Z1./Z2;
a(1,2,:) = Z1+Z2+Z1.*Z2./Z3;
a(2,1,:) = 1./Z3;
a(2,2,:) = 1+Z2./Z3;