tomwalters@0: function b2 = PZFC_b2(B2, B21, Pp, n2); tomwalters@0: % compute the power-dependent pole position coeff b2 for the PZFC filter tomwalters@0: % (same as OZGF_b2 until/unless we change it) tomwalters@0: tomwalters@0: % try for 1.0 input-output slope approx when B21 is about like B2: tomwalters@0: b2 = B2 * 10^((B21/(B2*n2)) * (Pp - 60)/20); % arbitrary 60 dB ref point tomwalters@0: tomwalters@0: % limit to a ridiculously small value: tomwalters@0: if b2 <= 0.2 tomwalters@0: b2 = 0.2; tomwalters@0: end