Home > classes > @specwin > private > win_Nuttall4.m

win_Nuttall4

PURPOSE ^

WIN_NUTTALL4 return Nuttall4 window sample for input z.

SYNOPSIS ^

function w = win_Nuttall4(w, z)

DESCRIPTION ^

 WIN_NUTTALL4 return Nuttall4 window sample for input z.

 M Hewitson 18-05-07

 $Id: win_Nuttall4.html,v 1.14 2008/03/31 10:27:41 hewitson Exp $

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function w = win_Nuttall4(w, z)
0002 
0003 % WIN_NUTTALL4 return Nuttall4 window sample for input z.
0004 %
0005 % M Hewitson 18-05-07
0006 %
0007 % $Id: win_Nuttall4.html,v 1.14 2008/03/31 10:27:41 hewitson Exp $
0008 %
0009 
0010 z = z * 2 * pi;
0011 v = 0.3125 - 0.46875 * cos(z) + 0.1875 * cos (2 * z) - 0.03125 * cos (3 * z);
0012 
0013 % Make window struct
0014 w.name     = 'Nuttall4';
0015 w.alpha    = 0;
0016 w.psll     = 60.9;
0017 w.rov      = 70.5;
0018 w.nenbw    = 2.31;
0019 w.w3db     = 2.1884;
0020 w.flatness = -0.6184;
0021 w.ws       = sum(v);
0022 w.ws2      = sum(v.*v);
0023 w.win      = v;
0024 
0025 % END

Generated on Mon 31-Mar-2008 12:20:24 by m2html © 2003