Home > freetb4matlab > signal > tukeywin.m

tukeywin

PURPOSE ^

% Return the filter coefficients of a Tukey window (also known as the

SYNOPSIS ^

function w = tukeywin(m,r)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {@var{w} =} tukeywin (@var{m}, @var{r})
% Return the filter coefficients of a Tukey window (also known as the
% cosine-tapered window) of length @var{m}. @var{r} defines the ratio
% between the constant section and and the cosine section. It has to be
% between 0 and 1. The function returns a Hanning window for @var{r}
% egals 0 and a full box for @var{r} egals 1. By default @var{r} is set
% to 1/2.
%
% For a definition of the Tukey window, see e.g. Fredric J. Harris,
% 'On the Use of Windows for Harmonic Analysis with the Discrete Fourier
% Transform, Proceedings of the IEEE', Vol. 66, No. 1, January 1978,
% Page 67, Equation 38.
% @end deftypefn

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003