Pi to T transformation
Zabc = pi2t(Z123)
impedances of T network = [Za,Zb,Zc]
impedances of Pi network = [Z1,Z2,Z3]
pi2t(Z123) performs Pi to T transformation. Z123 and Zabc are Lx3 matrices, for transforming several cases at once. the transformation equations are:
Za = Z2*Z3/U, Zb = Z3*Z1/U, Zc = Z1*Z2/U, where U = Z1 + Z2 + Z3
Z1 = V/Za, Z2 = V/Zb, Z3 = V/Zc, where V = Za*Zb + Zb*Zc + Zc*Za
---|----[Z2]----|---............---[Zc]----|----[Za]---
...|............|..........................|
..[Z1].........[Z3]..........==>..........[Zb]...
...|............|..........................|
---|------------|------..........----------|-----------
add sample pgm