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

win_Nuttall3

PURPOSE ^

WIN_NUTTALL3 return Nuttall3 window sample for input z.

SYNOPSIS ^

function w = win_Nuttall3(z)

DESCRIPTION ^

 WIN_NUTTALL3 return Nuttall3 window sample for input z.
 
 M Hewitson 18-05-07
 
 $Id: win_Nuttall3.m,v 1.1 2007/05/19 09:04:59 hewitson Exp $

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function w = win_Nuttall3(z)
0002 
0003 % WIN_NUTTALL3 return Nuttall3 window sample for input z.
0004 %
0005 % M Hewitson 18-05-07
0006 %
0007 % $Id: win_Nuttall3.m,v 1.1 2007/05/19 09:04:59 hewitson Exp $
0008 %
0009 
0010 z = z * 2 * pi;
0011 v = 0.375 - 0.5 * cos (z) + 0.125 * cos (2 * z);
0012  
0013 % Make window struct
0014 w.name     = 'Nuttall3';
0015 w.alpha    = 0;
0016 w.psll     = 46.7;
0017 w.rov      = 64.7;
0018 w.nenbw    = 1.9444;
0019 w.w3db     = 1.8496;
0020 w.flatness = -0.8630;
0021 w.ws       = sum(v);
0022 w.ws2      = sum(v.*v);
0023 w.win      = v;
0024 
0025 % END

Generated on Mon 03-Sep-2007 12:12:34 by m2html © 2003