Home > classes > @specwin > win_Rectangular.m

win_Rectangular

PURPOSE ^

WIN_RECTANGULAR return rectangular window sample for input z.

SYNOPSIS ^

function w = win_Rectangular(w, z)

DESCRIPTION ^

 WIN_RECTANGULAR return rectangular window sample for input z.

 M Hewitson 18-05-07

 $Id: win_Rectangular.m,v 1.1 2008/06/20 10:46:54 hewitson Exp $

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function w = win_Rectangular(w, z)
0002 
0003 % WIN_RECTANGULAR return rectangular window sample for input z.
0004 %
0005 % M Hewitson 18-05-07
0006 %
0007 % $Id: win_Rectangular.m,v 1.1 2008/06/20 10:46:54 hewitson Exp $
0008 %
0009 
0010 v = ones(size(z));
0011 
0012 % Make window struct
0013 w.type     = 'Rectangular';
0014 w.alpha    = 0;
0015 w.psll     = 13.3;
0016 w.rov      = 0.0;
0017 w.nenbw    = 1.0;
0018 w.w3db     = 0.8845;
0019 w.flatness = -3.9224;
0020 w.ws       = sum(v);
0021 w.ws2      = sum(v.*v);
0022 w.win      = v;
0023 
0024 % END

Generated on Mon 08-Sep-2008 13:18:47 by m2html © 2003