KAISER_ROV returns the recommended overlap for a Kaiser window with parameter alpha. Taken from C code of Gerhard Heinzel: Compute the 'recommended overlap' (ROV) [%] of Kaiser windows from the parameter alpha. Best-fit polynomial was obtained from 180 data points between alpha=1 and alpha=9.95. Maximum error is 1.5%, mainly due to insufficient precision in the data points M Hewitson 19-05-07 $Id: kaiser_rov.html,v 1.14 2008/03/31 10:27:40 hewitson Exp $
0001 function rov = kaiser_rov(alpha) 0002 0003 % KAISER_ROV returns the recommended overlap for a Kaiser window with 0004 % parameter alpha. 0005 % 0006 % Taken from C code of Gerhard Heinzel: 0007 % 0008 % Compute the 'recommended overlap' (ROV) [%] of Kaiser windows 0009 % from the parameter alpha. Best-fit polynomial 0010 % was obtained from 180 data points between alpha=1 0011 % and alpha=9.95. Maximum error is 1.5%, mainly due 0012 % to insufficient precision in the data points 0013 % 0014 % M Hewitson 19-05-07 0015 % 0016 % $Id: kaiser_rov.html,v 1.14 2008/03/31 10:27:40 hewitson Exp $ 0017 % 0018 0019 0020 a0 = 0.0061076; 0021 a1 = 0.00912223; 0022 a2 = -0.000925946; 0023 a3 = 4.42204e-05; 0024 x = alpha; 0025 rov = 100 - 1 / (((((a3 * x) + a2) * x) + a1) * x + a0); 0026 0027 % END