summaryrefslogtreecommitdiff
path: root/CTB/z2y.m
blob: f8666a3d40a3daead381b2c1ae789883c145bba7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
function y = z2y(z)
% y = z2y(z)
%
% Z-matrix to Y-matrix
%
% input:
%   z:   Z-matrix matrix nxnxf   (f: number of frequencies)
%
% output:
%   y:   Y-matrix nxnxf
%
% Reference: http://qucs.sourceforge.net/tech/node98.html
%
% Thorsten Liebig <thorsten.liebig@gmx.de>
% (c) 2013

% y2z is just doing the invertion ...
y = y2z(z);