KAISER_NENBW returns the normalized noise-equivalent bandwidth for a kaiser window with parameter alpha. Take from C code of Gerhard Heinzel: Compute the 'normalized noise-equivalent bandwidth' (NENBW) [bins] 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 0.007 bins NOTE that NENBW can be computed precisely from the actual time-domain window values M Hewitson 19-05-07 $Id: kaiser_nenbw.m,v 1.1 2007/05/19 09:04:59 hewitson Exp $
0001 function nenbw = kaiser_nenbw(alpha) 0002 0003 % KAISER_NENBW returns the normalized noise-equivalent bandwidth for a 0004 % kaiser window with parameter alpha. 0005 % 0006 % Take from C code of Gerhard Heinzel: 0007 % 0008 % Compute the 'normalized noise-equivalent bandwidth' 0009 % (NENBW) [bins] of Kaiser windows from the parameter alpha. 0010 % Best-fit polynomial was obtained from 180 data 0011 % points between alpha=1 and alpha=9.95. 0012 % Maximum error is 0.007 bins 0013 % NOTE that NENBW can be computed precisely 0014 % from the actual time-domain window values 0015 % 0016 % M Hewitson 19-05-07 0017 % 0018 % $Id: kaiser_nenbw.m,v 1.1 2007/05/19 09:04:59 hewitson Exp $ 0019 % 0020 0021 a0 = 0.768049; 0022 a1 = 0.411986; 0023 a2 = -0.0264817; 0024 a3 = 0.000962211; 0025 x = alpha; 0026 nenbw = (((((a3 * x) + a2) * x) + a1) * x + a0); 0027 0028 % END