File: a_PI.m

package info (click to toggle)
openems 0.0.35%2Bdfsg.1-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 6,288 kB
  • sloc: cpp: 40,259; yacc: 580; lex: 350; makefile: 258; sh: 169; ruby: 19
file content (15 lines) | stat: -rw-r--r-- 298 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
function a = a_PI(Y1,Y2,Y3)
% a = a_PI(Y1,Y2,Y3)
%
% calculate the ABCD matrix from a PI-circuit
%
% Reference: David M. Pozar "Microwave Engineering"
%
% Thorsten Liebig <thorsten.liebig@gmx.de>
% Feb. 2013


a(1,1,:) = 1+Y2./Y3;
a(1,2,:) = 1./Y3;
a(2,1,:) = Y1+Y2+Y1.Y2./Y3;
a(2,2,:) = 1+Y1./Y3;