From: Stefan Jahn <stefan@gr...>  20051124 07:36:18

On Mi, 23.11.2005, 17:08, Andy Koz wrote: > Stefan Hi Andy! > I have looked at the code and I now think I understand the operations, I > still think that the formulae > > res = (k * n * adjoint (k)  kelvin (T) / T0 * fabs (1  norm (g)) * > d * adjoint (d)) * norm (1 / (1  g)); > > might cause an error since g is set to 1 and fabs(1norm(g)) is zero > (if my interpretation of the norm function is correct), looks like a > divide by zero may happen somewhere. 'fabs(1norm (g))' is nowhere in the denominator, but in the numerator only. so i dont see a problem here. > Also, what is the purpose of expanding the noise correlation matrix? the purpose is to have an additional reference port, so you can check what happens if you put some kind of impedance at your device's source port (e.g. if sparameters are measured mos/mes data). cheers, stefan. 