view m-toolbox/classes/@specwin/kaiser_rov.m @ 49:0bcdf74587d1
database-connection-manager
Cleanup
author
Daniele Nicolodi <nicolodi@science.unitn.it>
date
Wed, 07 Dec 2011 17:24:36 +0100 (2011-12-07)
parents
f0afece42f48
children
line source
+ − function rov = kaiser_rov(alpha)
+ −
+ − % 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.m,v 1.2 2011/04/08 08:56:36 hewitson Exp $
+ − %
+ −
+ −
+ − a0 = 0.0061076;
+ − a1 = 0.00912223;
+ − a2 = -0.000925946;
+ − a3 = 4.42204e-05;
+ − x = alpha;
+ − rov = 100 - 1 / (((((a3 * x) + a2) * x) + a1) * x + a0);
+ −
+ − % END