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

win_Welch

PURPOSE ^

WIN_WELCH return Welch window sample for input z.

SYNOPSIS ^

function w = win_Welch(z)

DESCRIPTION ^

 WIN_WELCH return Welch window sample for input z.
 
 M Hewitson 18-05-07
 
 $Id: win_Welch.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_Welch(z)
0002 
0003 % WIN_WELCH return Welch window sample for input z.
0004 %
0005 % M Hewitson 18-05-07
0006 %
0007 % $Id: win_Welch.m,v 1.1 2007/05/19 09:04:59 hewitson Exp $
0008 %
0009 
0010 v = 1 - (2 * z - 1).^2;
0011 
0012 % Make window struct
0013 w.name     = 'Welch';
0014 w.alpha    = 0;
0015 w.psll     = 21.3;
0016 w.rov      = 29.3;
0017 w.nenbw    = 1.2;
0018 w.w3db     = 1.1535;
0019 w.flatness = -2.2248;
0020 w.ws       = sum(v);
0021 w.ws2      = sum(v.*v);
0022 w.win      = v;
0023 
0024 % END

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