% Calculate gain of cascaded LR high-pass filter
function gain = cascade(omega, omega3dB, n)

gain = ( 1 + (2.^(1./n) - 1) .* (omega3dB./omega).^2 ).^(-n./2);

